Code Actions in NvChad #3277
-
|
Hi y'all, I have been using NvChad for quite some time. Saw that a new version was out and wanted to try it out. I have a problem currently where I tend to use a lot the Have anyone here managed to implement this into the new version of NvChad? Should this be working out of the box, and I made a mistake on my configurations? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
vim.keymap.set("n", "ca", function() Add this into your mappings.lua, the keybind exist before but I'm not sure why it's gone. |
Beta Was this translation helpful? Give feedback.
-
|
+1 for this. also rely on this and when upgrading recently it seems to have disappeared. not a big deal to add back in, but why has it been removed? |
Beta Was this translation helpful? Give feedback.
-
|
fyi the built in binding that replaces the old |
Beta Was this translation helpful? Give feedback.
vim.keymap.set("n", "ca", function()
vim.lsp.buf.code_action()
end, { desc = "LSP Code Action" })
Add this into your mappings.lua, the keybind exist before but I'm not sure why it's gone.