aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-13 00:34:26 +0800
committerGuangxiong Lin <[email protected]>2022-04-13 00:34:26 +0800
commit22bbfcd6c80adc3c566e7fedc1eb883773438e64 (patch)
tree51ce1997fd3de7647e81ab1035b0e2a6749cc311 /.vim/after
parent75d59f4c076fcb899428ac263d4095469b4fbc88 (diff)
downloaddotfiles-22bbfcd6c80adc3c566e7fedc1eb883773438e64.tar.gz
dotfiles-22bbfcd6c80adc3c566e7fedc1eb883773438e64.tar.bz2
dotfiles-22bbfcd6c80adc3c566e7fedc1eb883773438e64.zip
Update lsp vim config
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/plugin/lsp.vim5
1 files changed, 3 insertions, 2 deletions
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 <buffer> gd <plug>(lsp-definition)
- nmap <buffer> gs <plug>(lsp-document-symbol-search)
- nmap <buffer> gS <plug>(lsp-workspace-symbol-search)
+ nmap <buffer> gs <plug>(lsp-document-symbol)
+ nmap <buffer> gS <plug>(lsp-workspace-symbol)
nmap <buffer> gr <plug>(lsp-references)
nmap <buffer> gi <plug>(lsp-implementation)
nmap <buffer> gy <plug>(lsp-type-definition)