diff options
author | Guangxiong Lin <[email protected]> | 2022-12-22 09:46:07 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-12-22 09:46:07 +0800 |
commit | 78b8cb1a818422d4cf33cc02025fa9cc7de48ebb (patch) | |
tree | 96dca6046160180d1a599bcca99991063ae348b6 | |
parent | 649ebaef22018db46638de027069ecffc0a11038 (diff) | |
download | dotfiles-78b8cb1a818422d4cf33cc02025fa9cc7de48ebb.tar.gz dotfiles-78b8cb1a818422d4cf33cc02025fa9cc7de48ebb.tar.bz2 dotfiles-78b8cb1a818422d4cf33cc02025fa9cc7de48ebb.zip |
Update vim config
-rw-r--r-- | .vim/after/plugin/gutentags.vim | 2 | ||||
-rw-r--r-- | .vim/after/plugin/lsp.vim | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.vim/after/plugin/gutentags.vim b/.vim/after/plugin/gutentags.vim index 2e905b9..8e38294 100644 --- a/.vim/after/plugin/gutentags.vim +++ b/.vim/after/plugin/gutentags.vim @@ -16,3 +16,5 @@ endif if executable('gtags') && executable('gtags-cscope') let g:gutentags_modules += ['gtags_cscope'] endif + +packadd vim-gutentags diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim index 258e3f7..4bc1a0f 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -1,15 +1,17 @@ if has('nvim') finish endif + let g:lsp_diagnostics_enabled = 0 let g:lsp_document_code_action_signs_enabled = 0 +let g:lsp_use_native_client = 1 packadd vim-lsp packadd vim-lsp-snippets packadd vim-lsp-ultisnips " This package will help enable diagnostic config of vim-lsp and then it -" can help send the result to ALE. Pay attention of the loading order. +" can help send the result to ALE. Pay attention of the loading order. packadd vim-lsp-ale if executable('pylsp') |