Skip to content

Instantly share code, notes, and snippets.

@rob-b
Created April 11, 2017 07:53
Show Gist options
  • Save rob-b/1713acc609f9397551ccce8788fa530c to your computer and use it in GitHub Desktop.
Save rob-b/1713acc609f9397551ccce8788fa530c to your computer and use it in GitHub Desktop.
diff --git a/autoload/gutentags/ctags.vim b/autoload/gutentags/ctags.vim
index 5e0b874..088634d 100644
--- a/autoload/gutentags/ctags.vim
+++ b/autoload/gutentags/ctags.vim
@@ -161,7 +161,8 @@ function! gutentags#ctags#generate(proj_dir, tags_file, write_mode) abort
if has('win32')
let l:cmd .= ' -l "' . l:actual_tags_file . '.log"'
else
- let l:cmd .= ' ' . printf(s:unix_redir, '"' . l:actual_tags_file . '.log"')
+ " let l:cmd .= ' ' . printf(s:unix_redir, '"' . l:actual_tags_file . '.log"')
+ let l:cmd .= ' ' . printf("> %s", '"' . l:actual_tags_file . '.log"')
endif
else
if !has('win32')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment