diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 27e9c86..1037e0d 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -35,6 +35,7 @@ return { print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end, opts) vim.keymap.set("n", "D", vim.lsp.buf.type_definition, opts) + vim.keymap.set("n", "a", vim.lsp.buf.code_action, opts) vim.keymap.set("n", "rn", vim.lsp.buf.rename, opts) vim.keymap.set({ "n", "v" }, "ca", vim.lsp.buf.code_action, opts) vim.keymap.set("n", "gr", vim.lsp.buf.references, opts)