Mercurial > vim-gutentags
comparison 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 |
comparison
equal
deleted
inserted
replaced
169:95afd985a4c3 | 171:18df731b1563 |
---|---|
144 \a:proj_dir, l:proj_options_file) | 144 \a:proj_dir, l:proj_options_file) |
145 let l:cmd .= ' -o "' . l:proj_options_file . '"' | 145 let l:cmd .= ' -o "' . l:proj_options_file . '"' |
146 endif | 146 endif |
147 if g:gutentags_ctags_exclude_wildignore | 147 if g:gutentags_ctags_exclude_wildignore |
148 for ign in split(&wildignore, ',') | 148 for ign in split(&wildignore, ',') |
149 let l:cmd .= ' -x ' . '"' . ign . '"' | 149 let l:cmd .= ' -x ' . shellescape(ign, 1) |
150 endfor | 150 endfor |
151 endif | 151 endif |
152 for exc in g:gutentags_ctags_exclude | 152 for exc in g:gutentags_ctags_exclude |
153 let l:cmd .= ' -x ' . '"' . exc . '"' | 153 let l:cmd .= ' -x ' . '"' . exc . '"' |
154 endfor | 154 endfor |