add keymap for code action
This commit is contained in:
parent
60f4d27379
commit
4497050644
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user