summaryrefslogtreecommitdiff
path: root/lua/user/lsp
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2023-01-03 18:03:57 -0800
committerLouie Shprung <lshprung@scu.edu>2023-01-03 18:03:57 -0800
commitf8e1bd25375d2476fbfbf3a6bf1431036ce4186a (patch)
tree065eba7a8e7ec78e418d485829bcbc1c8e7c03c8 /lua/user/lsp
parent618607ffd66c4a9786b0f128204d0d9df2270029 (diff)
Uncommented code action keymap
Diffstat (limited to 'lua/user/lsp')
-rw-r--r--lua/user/lsp/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua
index 2c0b06c..27111b2 100644
--- a/lua/user/lsp/handlers.lua
+++ b/lua/user/lsp/handlers.lua
@@ -75,7 +75,7 @@ local function lsp_keymaps(bufnr)
vim.api.nvim_buf_set_keymap(bufnr, "n", "<C-k>", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts)
-- vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>rn", "<cmd>lua vim.lsp.buf.rename()<CR>", opts)
vim.api.nvim_buf_set_keymap(bufnr, "n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>", opts)
- -- vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>ca", "<cmd>lua vim.lsp.buf.code_action()<CR>", opts)
+ vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>ca", "<cmd>lua vim.lsp.buf.code_action()<CR>", opts)
-- vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>f", "<cmd>lua vim.diagnostic.open_float()<CR>", opts)
vim.api.nvim_buf_set_keymap(bufnr, "n", "[d", '<cmd>lua vim.diagnostic.goto_prev({ border = "rounded" })<CR>', opts)
vim.api.nvim_buf_set_keymap(