From 3853279fcb29aa053dc9157428bf85c09abcf611 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 6 Sep 2022 09:57:49 -0500 Subject: [PATCH] refactor(nvim): remove code action menu --- .../primary/config/lua/plugins/mappings.lua | 2 +- .../primary/config/lua/plugins/plugins.lua | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua index fc7742a1..ae9cbfea 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua @@ -31,7 +31,7 @@ vim.keymap.set("n", "la", ":lua vim.lsp.buf.add_workspace_folder()") vim.keymap.set("n", "lx", ":lua vim.lsp.buf.remove_workspace_folder()") vim.keymap.set("n", "ll", ":lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))") vim.keymap.set("n", "ln", ":IncRename ") -vim.keymap.set("n", "lc", ":CodeActionMenu") +vim.keymap.set("n", "lc", ":lua vim.lsp.buf.code_action()") vim.keymap.set("n", "lr", ":lua vim.lsp.buf.references()") vim.keymap.set("n", "lR", ":LspRestart") vim.keymap.set("n", "ls", ":lua vim.diagnostic.open_float(nil, {focus=false, scope='cursor'})") diff --git a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua index 379f0c8d..a87db94a 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua @@ -341,11 +341,6 @@ return packer.startup({ end, }) - -- Code Action Menu, prettier ui for LSP code actions - require("packer").use({ - "weilbith/nvim-code-action-menu", - }) - -- Lsp From Null LS use({ "jose-elias-alvarez/null-ls.nvim",