1
0

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:
2025-12-19 16:13:39 +01:00
parent 7ca50dd7fe
commit 049c916f46

View File

@@ -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',