diff options
author | Louie Shprung <lshprung@scu.edu> | 2023-01-03 18:03:57 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2023-01-03 18:03:57 -0800 |
commit | f8e1bd25375d2476fbfbf3a6bf1431036ce4186a (patch) | |
tree | 065eba7a8e7ec78e418d485829bcbc1c8e7c03c8 /lua/user/lsp | |
parent | 618607ffd66c4a9786b0f128204d0d9df2270029 (diff) |
Uncommented code action keymap
Diffstat (limited to 'lua/user/lsp')
-rw-r--r-- | lua/user/lsp/handlers.lua | 2 |
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( |