Mercurial > vim-gutentags
comparison plugin/autotags.vim @ 9:f0f1d20d6f5c
On Unix, either log to file or don't log at all.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 21 Jul 2014 21:32:48 -0700 |
parents | 12f4f50f4d3a |
children | b853ad0e7afd |
comparison
equal
deleted
inserted
replaced
8:9db89b76636a | 9:f0f1d20d6f5c |
---|---|
286 endfor | 286 endfor |
287 if g:autotags_trace | 287 if g:autotags_trace |
288 if has('win32') | 288 if has('win32') |
289 let l:cmd .= ' -l "' . fnamemodify(l:tags_file, ':t') . '.log"' | 289 let l:cmd .= ' -l "' . fnamemodify(l:tags_file, ':t') . '.log"' |
290 else | 290 else |
291 let l:cmd .= ' > "' . fnamemodify(l:tags_file, ':t') . '.log"' | 291 let l:cmd .= ' > "' . fnamemodify(l:tags_file, ':t') . '.log" 2>&1' |
292 endif | |
293 else | |
294 if !has('win32') | |
295 let l:cmd .= ' > /dev/null 2>&1' | |
292 endif | 296 endif |
293 endif | 297 endif |
294 let l:cmd .= s:get_execute_cmd_suffix() | 298 let l:cmd .= s:get_execute_cmd_suffix() |
295 | 299 |
296 " Run the background process. | 300 " Run the background process. |