mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-25 20:51:26 -05:00
Use /tmp for the ctags temporary directory if it exists
This commit is contained in:
parent
dedcdca651
commit
20437cec96
1 changed files with 7 additions and 0 deletions
|
@ -1,9 +1,16 @@
|
|||
let g:easytags_suppress_ctags_warning = 1
|
||||
|
||||
"set the temporary directory for ctags
|
||||
if isdirectory(glob("/tmp"))
|
||||
let $TMPDIR = '/tmp'
|
||||
endif
|
||||
|
||||
"put general tags in ~/.vim/tags
|
||||
if filereadable(glob("~/.vim/tags"))
|
||||
let g:easytags_file = '~/.vim/tags'
|
||||
endif
|
||||
|
||||
"put filetype-specific tags in ~/.vim/tags_by_filetype/
|
||||
if isdirectory(glob("~/.vim/tags_by_filetype"))
|
||||
let g:easytags_by_filetype = '~/.vim/tags_by_filetype'
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue