Mercurial > vim-gutentags
diff plugin/gutentags.vim @ 159:41fa23706d9c
Don't use the cache directory if it's set as an empty string.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 17 Feb 2017 17:20:57 -0800 |
parents | f915393ff68d |
children | cbc1ebe23ef1 |
line wrap: on
line diff
--- a/plugin/gutentags.vim Wed Feb 15 17:15:00 2017 -0800 +++ b/plugin/gutentags.vim Fri Feb 17 17:20:57 2017 -0800 @@ -55,7 +55,7 @@ if !exists('g:gutentags_cache_dir') let g:gutentags_cache_dir = '' -else +elseif !empty(g:gutentags_cache_dir) " Make sure we get an absolute/resolved path (e.g. expanding `~/`), and " strip any trailing slash. let g:gutentags_cache_dir = fnamemodify(g:gutentags_cache_dir, ':p')