diff --git a/lua/nvim-cmp-config.lua b/lua/nvim-cmp-config.lua index f0d827e..e5907ec 100644 --- a/lua/nvim-cmp-config.lua +++ b/lua/nvim-cmp-config.lua @@ -67,6 +67,7 @@ cmp.setup.cmdline(':', { buf_set_keymap('n', 'gr', 'lua vim.lsp.buf.references()', opts) buf_set_keymap('n', '', 'lua vim.lsp.buf.rename()', opts) buf_set_keymap('n', 'f', 'lua vim.lsp.buf.formatting()', opts) + buf_set_keymap('n', 'ca', 'lua vim.lsp.buf.code_action()', opts) end