diff options
| author | aaronsms <[email protected]> | 2021-07-29 17:04:03 +0800 | 
|---|---|---|
| committer | aaronsms <[email protected]> | 2021-07-29 17:04:03 +0800 | 
| commit | 9e4a2c45165a6ba8160999513e256077173ef6d6 (patch) | |
| tree | 454f9dec5575c713576d5b8f33dcef908cad6165 | |
| parent | fc36d2b29f0fd72c299bb7532df0655527bdecf3 (diff) | |
fix: change peekDefinition method location
| -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>" | 
