mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-13 16:32:30 -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
|
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"))
|
if filereadable(glob("~/.vim/tags"))
|
||||||
let g:easytags_file = '~/.vim/tags'
|
let g:easytags_file = '~/.vim/tags'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
"put filetype-specific tags in ~/.vim/tags_by_filetype/
|
||||||
if isdirectory(glob("~/.vim/tags_by_filetype"))
|
if isdirectory(glob("~/.vim/tags_by_filetype"))
|
||||||
let g:easytags_by_filetype = '~/.vim/tags_by_filetype'
|
let g:easytags_by_filetype = '~/.vim/tags_by_filetype'
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue