fix: Use directly lua function for command (#38)
This commit is contained in:
@@ -169,7 +169,7 @@ function neogen.generate_command()
|
|||||||
endfunction
|
endfunction
|
||||||
]])
|
]])
|
||||||
vim.api.nvim_command(
|
vim.api.nvim_command(
|
||||||
'command! -nargs=? -complete=customlist,s:match_commands -range -bar Neogen lua require("neogen").generate({ type = <q-args>})'
|
'command! -nargs=? -complete=customlist,v:lua.neogen.match_commands -range -bar Neogen lua require("neogen").generate({ type = <q-args>})'
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user