mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 11:44:10 -05:00
Fix easytags tags file and tags_by_filetype by setting the values if the file is readable and the folder is a folder, rather than the negative of that
This commit is contained in:
parent
a0d8bf806c
commit
b078da11e1
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue