From 9e4a2c45165a6ba8160999513e256077173ef6d6 Mon Sep 17 00:00:00 2001 From: aaronsms Date: Thu, 29 Jul 2021 17:04:03 +0800 Subject: fix: change peekDefinition method location --- lua/lsp/keybinds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lsp/keybinds.lua') 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 gp lua require'lsp.utils'.PeekDefinition()" + vim.cmd "nnoremap gp lua require'lsp.service'.PeekDefinition()" vim.cmd "nnoremap K :lua vim.lsp.buf.hover()" vim.cmd "nnoremap :lua vim.lsp.diagnostic.goto_prev({popup_opts = {border = lvim.lsp.popup_border}})" vim.cmd "nnoremap :lua vim.lsp.diagnostic.goto_next({popup_opts = {border = lvim.lsp.popup_border}})" -- cgit v1.2.3