comparison plugin/autotags.vim @ 11:478638833c3b

Fix Win32 update script, add option to pause it.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 23 Jul 2014 17:04:34 -0700
parents b853ad0e7afd
children b8f23bf7b20f
comparison
equal deleted inserted replaced
10:b853ad0e7afd 11:478638833c3b
24 let g:autotags_fake = 0 24 let g:autotags_fake = 0
25 endif 25 endif
26 26
27 if !exists('g:autotags_background_update') 27 if !exists('g:autotags_background_update')
28 let g:autotags_background_update = 1 28 let g:autotags_background_update = 1
29 endif
30
31 if !exists('g:autotags_pause_after_update')
32 let g:autotags_pause_after_update = 0
29 endif 33 endif
30 34
31 if !exists('g:autotags_enabled') 35 if !exists('g:autotags_enabled')
32 let g:autotags_enabled = 1 36 let g:autotags_enabled = 1
33 endif 37 endif
282 let l:cmd .= ' -x ' . ign 286 let l:cmd .= ' -x ' . ign
283 endfor 287 endfor
284 for exc in g:autotags_exclude 288 for exc in g:autotags_exclude
285 let l:cmd .= ' -x ' . exc 289 let l:cmd .= ' -x ' . exc
286 endfor 290 endfor
291 if g:autotags_pause_after_update
292 let l:cmd .= ' -p'
293 endif
287 if g:autotags_trace 294 if g:autotags_trace
288 if has('win32') 295 if has('win32')
289 let l:cmd .= ' -l "' . fnamemodify(l:tags_file, ':t') . '.log"' 296 let l:cmd .= ' -l "' . fnamemodify(l:tags_file, ':t') . '.log"'
290 else 297 else
291 let l:cmd .= ' > "' . fnamemodify(l:tags_file, ':t') . '.log" 2>&1' 298 let l:cmd .= ' > "' . fnamemodify(l:tags_file, ':t') . '.log" 2>&1'