diff options
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/after/plugin/lsp.vim | 5 |
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) |