Mercurial > vim-gutentags
changeset 35:c9dfccf3c2f7
Fix #7
zsh will try to expand glob patterns (e.g., *.o) if it is not quoted
author | Yang Zhang <yangzhang@live.com> |
---|---|
date | Mon, 10 Nov 2014 23:03:44 +0800 |
parents | a3ef2402ca09 |
children | 186b65facdb1 |
files | plugin/gutentags.vim |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/gutentags.vim Fri Nov 07 13:18:32 2014 -0800 +++ b/plugin/gutentags.vim Mon Nov 10 23:03:44 2014 +0800 @@ -291,7 +291,7 @@ let l:tags_file = b:gutentags_file let l:proj_dir = b:gutentags_root endif - + " Check that there's not already an update in progress. let l:lock_file = l:tags_file . '.lock' if filereadable(l:lock_file) @@ -327,10 +327,10 @@ let l:cmd .= ' -s "' . l:full_path . '"' endif for ign in split(&wildignore, ',') - let l:cmd .= ' -x ' . ign + let l:cmd .= ' -x ' . '"' . ign . '"' endfor for exc in g:gutentags_exclude - let l:cmd .= ' -x ' . exc + let l:cmd .= ' -x ' . '"' . exc . '"' endfor if g:gutentags_pause_after_update let l:cmd .= ' -p' @@ -360,7 +360,7 @@ else execute l:cmd endif - + " Flag this tags file as being in progress let l:full_tags_file = fnamemodify(l:tags_file, ':p') let s:maybe_in_progress[l:full_tags_file] = localtime()