diff --git a/lua/lsp.lua b/lua/lsp.lua index 0f33a7e..eb6c689 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -15,7 +15,7 @@ local on_attach = function(_, bufnr) end nmap('rn', vim.lsp.buf.rename, '[R]e[n]ame') - nmap('ca', vim.lsp.buf.code_action, '[C]ode [A]ction') + nmap('c', vim.lsp.buf.code_action, '[C]ode action') -- NOTE: to see if ca is needed nmap('gd', require('telescope.builtin').lsp_definitions, '[G]oto [D]efinition') nmap('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences') @@ -44,8 +44,8 @@ end -- document existing key chains require('which-key').add { - { "c", group = "[C]ode" }, - { "c_", hidden = true }, + -- { "c", group = "[C]ode" }, + -- { "c_", hidden = true }, { "d", group = "[D]ocument" }, { "d_", hidden = true }, { "g", group = "[G]it" },