From e5bde8462acd98a3b7a2adcb09b8b1ea02470f34 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 25 Nov 2020 22:20:48 +0800 Subject: [PATCH] only use vim-lsp-cxx-highlight if we have ccls --- core/plugins.vim | 5 +++-- 1 file 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