add keybindings for following definitions / references
This commit is contained in:
@@ -31,6 +31,8 @@ Map('n', 'K', vim.lsp.buf.hover, { desc = 'symbol hover' })
|
||||
Map('n', '<F2>', vim.lsp.buf.rename, { desc = 'rename symbol' })
|
||||
Map('n', '<leader>lm', vim.diagnostic.open_float, { desc = 'view line\'s diagnostic messages' })
|
||||
Map('n', '<leader>q', vim.lsp.buf.code_action, { desc = 'view quickfix list' })
|
||||
Map('n', 'gd', vim.lsp.buf.definition, { desc = "Go to the definition" })
|
||||
Map('n', 'gr', vim.lsp.buf.references, { desc = "Go to the reference" })
|
||||
|
||||
-- smart tabulation
|
||||
Map('i', '<tab>', function()
|
||||
|
||||
Reference in New Issue
Block a user