add keymap for code action

This commit is contained in:
Akulij 2025-04-29 14:37:19 +03:00
parent 60f4d27379
commit 4497050644

View File

@ -135,6 +135,7 @@ cmp.setup {
},
}
vim.keymap.set('n', "gd", vim.lsp.buf.definition, { silent = true })
vim.keymap.set('n', "ca", vim.lsp.buf.code_action, { silent = true })
-- Show line diagnostics automatically in hover window
vim.o.updatetime = 250