From 22bbfcd6c80adc3c566e7fedc1eb883773438e64 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 13 Apr 2022 00:34:26 +0800 Subject: Update lsp vim config --- .vim/after/plugin/lsp.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.vim/after/plugin/lsp.vim') diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim index 512894b..d2f0d03 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -29,10 +29,11 @@ endif function! s:on_lsp_buffer_enabled() abort setlocal omnifunc=lsp#complete + setlocal nocscopetag if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif nmap gd (lsp-definition) - nmap gs (lsp-document-symbol-search) - nmap gS (lsp-workspace-symbol-search) + nmap gs (lsp-document-symbol) + nmap gS (lsp-workspace-symbol) nmap gr (lsp-references) nmap gi (lsp-implementation) nmap gy (lsp-type-definition) -- cgit v1.2.3