diff options
| author | jdhao <jdhao@hotmail.com> | 2020-11-25 22:20:48 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-11-25 22:20:48 +0800 |
| commit | e5bde8462acd98a3b7a2adcb09b8b1ea02470f34 (patch) | |
| tree | 8b3cfa85ffa6a2f062942b1ba280bfeb3a6cb895 /core | |
| parent | 4a4c85f90368c26832f7943f38de98f51688df5c (diff) | |
only use vim-lsp-cxx-highlight if we have ccls
Diffstat (limited to 'core')
| -rw-r--r-- | core/plugins.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index 647ddc0..89e0aa1 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -21,7 +21,6 @@ Plug 'prabirshrestha/vim-lsp' Plug 'lighttiger2505/deoplete-vim-lsp' " Vim source for deoplete - if !executable('vim-language-server') " only use neco-vim when vim-language-server is not available Plug 'Shougo/neco-vim', { 'for': 'vim' } @@ -46,7 +45,9 @@ Plug 'machakann/vim-swap' Plug 'vlime/vlime', {'rtp': 'vim/', 'for': 'lisp'} " C++ semantic highlighting -Plug 'jackguo380/vim-lsp-cxx-highlight' +if executable('ccls') + Plug 'jackguo380/vim-lsp-cxx-highlight' +endif "}} "{{ Search related plugins |
