diff options
author | rebuilt <[email protected]> | 2021-07-29 11:09:17 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-29 11:09:17 +0200 |
commit | 934fb5626a9e470c279998883824b63c095f4be9 (patch) | |
tree | 454f9dec5575c713576d5b8f33dcef908cad6165 /lua/lsp/keybinds.lua | |
parent | fc36d2b29f0fd72c299bb7532df0655527bdecf3 (diff) | |
parent | 9e4a2c45165a6ba8160999513e256077173ef6d6 (diff) |
Merge pull request #1160 from aaronsms/fix-lsp-peek-definition
fix: change peekDefinition method location
Diffstat (limited to 'lua/lsp/keybinds.lua')
-rw-r--r-- | lua/lsp/keybinds.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lsp/keybinds.lua b/lua/lsp/keybinds.lua index 5722dab7..820ebce9 100644 --- a/lua/lsp/keybinds.lua +++ b/lua/lsp/keybinds.lua @@ -13,7 +13,7 @@ function M.setup() { noremap = true, silent = true } ) - vim.cmd "nnoremap <silent> gp <cmd>lua require'lsp.utils'.PeekDefinition()<CR>" + vim.cmd "nnoremap <silent> gp <cmd>lua require'lsp.service'.PeekDefinition()<CR>" vim.cmd "nnoremap <silent> K :lua vim.lsp.buf.hover()<CR>" vim.cmd "nnoremap <silent> <C-p> :lua vim.lsp.diagnostic.goto_prev({popup_opts = {border = lvim.lsp.popup_border}})<CR>" vim.cmd "nnoremap <silent> <C-n> :lua vim.lsp.diagnostic.goto_next({popup_opts = {border = lvim.lsp.popup_border}})<CR>" |