Mercurial > vim-gutentags
comparison autoload/gutentags/ctags.vim @ 231:740cd9065423
Fix `wildignore` patterns file... it's not an options file!
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 17 Nov 2018 00:03:52 -0800 |
parents | a798f7ad11c5 |
children | ac312dc3c111 |
comparison
equal
deleted
inserted
replaced
230:a798f7ad11c5 | 231:740cd9065423 |
---|---|
218 endif | 218 endif |
219 | 219 |
220 call gutentags#trace("Generating wildignore options: ".s:wildignores_options_path) | 220 call gutentags#trace("Generating wildignore options: ".s:wildignores_options_path) |
221 let l:opt_lines = [] | 221 let l:opt_lines = [] |
222 for ign in split(&wildignore, ',') | 222 for ign in split(&wildignore, ',') |
223 call add(l:opt_lines, '--exclude='.ign) | 223 call add(l:opt_lines, ign) |
224 endfor | 224 endfor |
225 call writefile(l:opt_lines, s:wildignores_options_path) | 225 call writefile(l:opt_lines, s:wildignores_options_path) |
226 let s:last_wildignores = &wildignore | 226 let s:last_wildignores = &wildignore |
227 endfunction | 227 endfunction |
228 | 228 |