diff autoload/gutentags/ctags.vim @ 171:18df731b1563

Merge pull request #110 from GitHub.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Feb 2017 20:12:01 -0800
parents 95afd985a4c3 0e7ffc799cc5
children 2cf3fb66285b
line wrap: on
line diff
--- a/autoload/gutentags/ctags.vim	Sun Feb 19 20:00:13 2017 -0800
+++ b/autoload/gutentags/ctags.vim	Sun Feb 19 20:12:01 2017 -0800
@@ -146,7 +146,7 @@
         endif
         if g:gutentags_ctags_exclude_wildignore
             for ign in split(&wildignore, ',')
-                let l:cmd .= ' -x ' . '"' . ign . '"'
+                let l:cmd .= ' -x ' . shellescape(ign, 1)
             endfor
         endif
         for exc in g:gutentags_ctags_exclude