Closed y closed 10 years ago
The current behavior is to only expand the default directory:
if !exists('g:ref_cache_dir') let g:ref_cache_dir = expand('~/.vim_ref_cache') endif
But it should also call expand on the user-defined directory:
if !exists('g:ref_cache_dir') let g:ref_cache_dir = '~/.vim_ref_cache' endif let g:ref_cache_dir = expand(g:ref_cache_dir)
This is the expected behavior in vim and other plugins.
I think this behavior differs with plugin. For example, netrw doesn't expand g:netrw_home.
netrw
g:netrw_home
The current behavior is to only expand the default directory:
But it should also call expand on the user-defined directory:
This is the expected behavior in vim and other plugins.