add diffview pluging and tweaked code actions mapping

This commit is contained in:
Natercio Moniz
2025-03-21 15:39:06 +00:00
parent 15ab2a2802
commit 7d9a7f9547
3 changed files with 18 additions and 1 deletions

View File

@@ -355,7 +355,7 @@ require('lazy').setup({
-- Execute a code action, usually your cursor needs to be on top of an error
-- or a suggestion from your LSP for this to activate.
map('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]ction', { 'n', 'x' })
map('<leader>ac', vim.lsp.buf.code_action, 'Code [Ac]tion', { 'n', 'x' })
-- WARN: This is not Goto Definition, this is Goto Declaration.
-- For example, in C this would take you to the header.