use nvim_add_user_command() to create commands
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
vim.cmd([[
|
vim.api.nvim_add_user_command("OrganizeImports", function()
|
||||||
command! OrganizeImports :lua require('user.utils').lsp_organize_imports()<CR>
|
require("user.utils").lsp_organize_imports()
|
||||||
]])
|
end, {})
|
||||||
|
|||||||
Reference in New Issue
Block a user