refactor(nvim): remove code action menu
This commit is contained in:
parent
9f2a1d7545
commit
3853279fcb
@ -31,7 +31,7 @@ vim.keymap.set("n", "<leader>la", ":lua vim.lsp.buf.add_workspace_folder()<CR>")
|
|||||||
vim.keymap.set("n", "<leader>lx", ":lua vim.lsp.buf.remove_workspace_folder()<CR>")
|
vim.keymap.set("n", "<leader>lx", ":lua vim.lsp.buf.remove_workspace_folder()<CR>")
|
||||||
vim.keymap.set("n", "<leader>ll", ":lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>")
|
vim.keymap.set("n", "<leader>ll", ":lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>")
|
||||||
vim.keymap.set("n", "<leader>ln", ":IncRename ")
|
vim.keymap.set("n", "<leader>ln", ":IncRename ")
|
||||||
vim.keymap.set("n", "<leader>lc", ":CodeActionMenu<CR>")
|
vim.keymap.set("n", "<leader>lc", ":lua vim.lsp.buf.code_action()<CR>")
|
||||||
vim.keymap.set("n", "<leader>lr", ":lua vim.lsp.buf.references()<CR>")
|
vim.keymap.set("n", "<leader>lr", ":lua vim.lsp.buf.references()<CR>")
|
||||||
vim.keymap.set("n", "<leader>lR", ":LspRestart<CR>")
|
vim.keymap.set("n", "<leader>lR", ":LspRestart<CR>")
|
||||||
vim.keymap.set("n", "<leader>ls", ":lua vim.diagnostic.open_float(nil, {focus=false, scope='cursor'})<CR>")
|
vim.keymap.set("n", "<leader>ls", ":lua vim.diagnostic.open_float(nil, {focus=false, scope='cursor'})<CR>")
|
||||||
|
@ -341,11 +341,6 @@ return packer.startup({
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Code Action Menu, prettier ui for LSP code actions
|
|
||||||
require("packer").use({
|
|
||||||
"weilbith/nvim-code-action-menu",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Lsp From Null LS
|
-- Lsp From Null LS
|
||||||
use({
|
use({
|
||||||
"jose-elias-alvarez/null-ls.nvim",
|
"jose-elias-alvarez/null-ls.nvim",
|
||||||
|
Loading…
Reference in New Issue
Block a user