[vimrc] Only load vim-easytags if ctags is installed

This commit is contained in:
lhark 2018-08-01 23:53:00 +02:00
parent 3aa2cb723b
commit 4b44bd7386

14
vimrc
View file

@ -103,12 +103,14 @@ if has("unix") || has("mac")
\ 'linter_errors': 'error' \ 'linter_errors': 'error'
\ }, \ },
\} \}
"Needed for vim-easytags" if executable('ctags')
Plugin 'xolox/vim-misc' "Needed for vim-easytags"
Plugin 'xolox/vim-easytags' Plugin 'xolox/vim-misc'
let g:easytags_async=1 Plugin 'xolox/vim-easytags'
"Needed for YouCompleteMe" let g:easytags_async=1
let g:easytags_opts=['--fields=+l'] "Needed for YouCompleteMe"
let g:easytags_opts=['--fields=+l']
endif
Plugin 'godlygeek/tabular' Plugin 'godlygeek/tabular'
Plugin 'beyondmarc/opengl.vim' Plugin 'beyondmarc/opengl.vim'
Plugin 'tikhomirov/vim-glsl' Plugin 'tikhomirov/vim-glsl'