From 9556e59765000e984e958384bb2b9ec9ed9aa57a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 9 Jul 2019 12:01:31 -0400 Subject: [PATCH] Fix :Glog on Vim without quickfix "module" support Closes https://github.com/tpope/vim-fugitive/issues/1279 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index feccee0..037c5c4 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3435,7 +3435,7 @@ function! s:Log(type, bang, line1, line2, args) abort if has('patch-8.0.1782') let module = '%o' else - let module = '%[^[:space:]]%#' + let module = "%[%^\t]%#" endif let &grepformat = '%Cdiff %.%#,%C--- %.%#,%C+++ %.%#,%Z@@ -%\d%\+\,%\d%\+ +%l\,%\d%\+ @@,%-G-%.%#,%-G+%.%#,%-G %.%#,%-G,%A%f' . "\t\t" . module . "\t\t%m" silent! exe (a:type ==# 'l' ? 'lgrep' : 'grep') . '!' . escape(s:shellesc(args + paths), '|')