[vimrc] Only load vim-easytags if ctags is installed
This commit is contained in:
parent
3aa2cb723b
commit
4b44bd7386
1 changed files with 8 additions and 6 deletions
2
vimrc
2
vimrc
|
@ -103,12 +103,14 @@ if has("unix") || has("mac")
|
||||||
\ 'linter_errors': 'error'
|
\ 'linter_errors': 'error'
|
||||||
\ },
|
\ },
|
||||||
\}
|
\}
|
||||||
|
if executable('ctags')
|
||||||
"Needed for vim-easytags"
|
"Needed for vim-easytags"
|
||||||
Plugin 'xolox/vim-misc'
|
Plugin 'xolox/vim-misc'
|
||||||
Plugin 'xolox/vim-easytags'
|
Plugin 'xolox/vim-easytags'
|
||||||
let g:easytags_async=1
|
let g:easytags_async=1
|
||||||
"Needed for YouCompleteMe"
|
"Needed for YouCompleteMe"
|
||||||
let g:easytags_opts=['--fields=+l']
|
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'
|
||||||
|
|
Loading…
Reference in a new issue