# HG changeset patch # User Yang Zhang # Date 1415631824 -28800 # Node ID c9dfccf3c2f762f5f1f2b86320f2fd0258998ed0 # Parent a3ef2402ca09f8b6212f6dfb5ddfe182180ba1f7 Fix #7 zsh will try to expand glob patterns (e.g., *.o) if it is not quoted diff -r a3ef2402ca09 -r c9dfccf3c2f7 plugin/gutentags.vim --- 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()