diff --git a/nvim/.config/nvim/lua/nvim-lspconfig/init.lua b/nvim/.config/nvim/lua/nvim-lspconfig/init.lua index af466db..229b323 100644 --- a/nvim/.config/nvim/lua/nvim-lspconfig/init.lua +++ b/nvim/.config/nvim/lua/nvim-lspconfig/init.lua @@ -8,9 +8,9 @@ local on_attach = function(_, _) {noremap = true, silent = true}) vim.api.nvim_set_keymap("n", "gd", "lua require'lspsaga.provider'.preview_definition()", {noremap = true, silent = true}) - vim.api.nvim_set_keymap("n", "gc", "lua require 'lspsaga.codeaction'.code_action()", + vim.api.nvim_set_keymap("n", "ca", "lua require 'lspsaga.codeaction'.code_action()", {noremap = true, silent = true}) - vim.api.nvim_set_keymap("v", "gc", "'<,'>lua require 'lspsaga.codeaction'.range_code_action()", + vim.api.nvim_set_keymap("v", "ca", "'<,'>lua require 'lspsaga.codeaction'.range_code_action()", {noremap = true, silent = true}) vim.api.nvim_set_keymap("n", "K", "lua require('lspsaga.hover').render_hover_doc()", {noremap = true, silent = true})