vimrc: YCM only if python3 enabled

This commit is contained in:
2023-05-17 11:29:50 +02:00
parent 04273c2422
commit 10ff2034bb

2
.vimrc
View File

@@ -27,7 +27,7 @@ if filereadable(expand(vundle_dir) . "/README.md")
Plugin 'nvie/vim-flake8'
Plugin 'ludovicchabant/vim-gutentags'
Plugin 'junegunn/vim-peekaboo'
if empty($VIM_DISABLE_YCM)
if has('python3') && empty($VIM_DISABLE_YCM)
Plugin 'ycm-core/YouCompleteMe'
endif
Plugin 'dense-analysis/ale'