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
|
endif
|
||||||
|
|
||||||
" ctags
|
" ctags
|
||||||
|
if (executable('ctags'))
|
||||||
|
packadd! vim-gutentags
|
||||||
let g:gutentags_ctags_exclude = [
|
let g:gutentags_ctags_exclude = [
|
||||||
\ 'node_modules/*',
|
\ 'node_modules/*',
|
||||||
\ '.git/*',
|
\ '.git/*',
|
||||||
\ 'build/*'
|
\ 'build/*'
|
||||||
\]
|
\]
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user