Skip to content

Commit

Permalink
fix lsp maps
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed Jun 11, 2024
1 parent 1e39a1c commit 193b9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/nvim/lua/user/lsp/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ return function(bufnr)
vim.keymap.set('n', 'gy', vim.lsp.buf.type_definition, returnOpts 'Go to type definition')
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, returnOpts 'Go to implementation')
vim.keymap.set('n', 'gR', '<cmd>lua vim.lsp.buf.references({ includeDeclaration = false })<CR>', returnOpts 'Go to references (native)')
vim.keymap.set('n', 'grr', '<cmd>Lspsaga finder<CR>', returnOpts 'Go to references')
vim.keymap.set('n', 'grR', '<cmd>Lspsaga finder<CR>', returnOpts 'Go to references')

-- Documentation
vim.keymap.set('i', '<M-k>', vim.lsp.buf.signature_help, returnOpts 'Signature help')
Expand Down

0 comments on commit 193b9bd

Please sign in to comment.