# HG changeset patch # User Ludovic Chabant # Date 1487380857 28800 # Node ID 41fa23706d9c86c530d75854c76a0aaeb6ceb38d # Parent bba76de4371a45658e0e095e337d375b35249f32 Don't use the cache directory if it's set as an empty string. diff -r bba76de4371a -r 41fa23706d9c plugin/gutentags.vim --- 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')