Mercurial > vim-gutentags
changeset 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 | 9db89b76636a |
children | b853ad0e7afd |
files | plugin/autotags.vim |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/autotags.vim Mon Jul 21 21:32:26 2014 -0700 +++ b/plugin/autotags.vim Mon Jul 21 21:32:48 2014 -0700 @@ -288,7 +288,11 @@ if has('win32') let l:cmd .= ' -l "' . fnamemodify(l:tags_file, ':t') . '.log"' else - let l:cmd .= ' > "' . fnamemodify(l:tags_file, ':t') . '.log"' + let l:cmd .= ' > "' . fnamemodify(l:tags_file, ':t') . '.log" 2>&1' + endif + else + if !has('win32') + let l:cmd .= ' > /dev/null 2>&1' endif endif let l:cmd .= s:get_execute_cmd_suffix()