vim:plugins: Only add gutentags with ctags
Only add gutentags with `ctags` as valid executable. Otherwise vim will complain.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../opt/vim-gutentags/
|
||||
@@ -12,8 +12,11 @@ if (has('patch-8.1.1719') || has('nvim'))
|
||||
endif
|
||||
|
||||
" ctags
|
||||
let g:gutentags_ctags_exclude = [
|
||||
\ 'node_modules/*',
|
||||
\ '.git/*',
|
||||
\ 'build/*'
|
||||
\]
|
||||
if (executable('ctags'))
|
||||
packadd! vim-gutentags
|
||||
let g:gutentags_ctags_exclude = [
|
||||
\ 'node_modules/*',
|
||||
\ '.git/*',
|
||||
\ 'build/*'
|
||||
\]
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user