chore: make neovim gd actually go to definition
For some reason, the default mapping on `gd` does not go to definition by lsp, but rather by symbol within file.
This commit is contained in:
@@ -53,6 +53,9 @@ local keymap = {
|
||||
goto_last_buffer = {
|
||||
['<leader>l'] = ':e#<CR>',
|
||||
},
|
||||
goto_definition = {
|
||||
['gd'] = vim.lsp.buf.declaration
|
||||
},
|
||||
scratch_pad = {
|
||||
['<leader>s'] = table.concat({
|
||||
':bo vs',
|
||||
|
||||
Reference in New Issue
Block a user