diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index a1e0bf2..0451c9f 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -47,8 +47,8 @@ scriptencoding utf-8 "EASYTAGS: {{{ let g:easytags_suppress_ctags_warning=1 - if !filereadable(glob("~/.vim/tags"))|let g:easytags_file='~/.vim/tags'|endif - if !isdirectory(glob("~/.vim/tags_by_filetype"))|let g:easytags_by_filetype='~/.vim/tags_by_filetype'|endif + if filereadable(glob("~/.vim/tags"))|let g:easytags_file='~/.vim/tags'|endif + if isdirectory(glob("~/.vim/tags_by_filetype"))|let g:easytags_by_filetype='~/.vim/tags_by_filetype'|endif "prevent automatically generating the tagfile and syntax highlighting tags (default: 0) if !exists("g:disableautotags")