From 35cf80dd3b46e440126db181937baa2d1f86a266 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 3 Aug 2019 16:25:41 -0400 Subject: [PATCH] Fix :Gbrowse with range and blame.coloring enabled --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index feb730d..424ca08 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4843,7 +4843,7 @@ function! s:BrowseCommand(line1, line2, range, count, bang, mods, reg, arg, args call writefile([commit, ''], blame_list, 'b') let blame_in = tempname() silent exe '%write' blame_in - let [blame, exec_error] = s:LinesError(['blame', '--contents', blame_in, '-L', a:line1.','.a:count, '-S', blame_list, '-s', '--show-number', './' . path]) + let [blame, exec_error] = s:LinesError(['-c', 'blame.coloring=none', 'blame', '--contents', blame_in, '-L', a:line1.','.a:count, '-S', blame_list, '-s', '--show-number', './' . path]) if !exec_error let blame_regex = '^\^\x\+\s\+\zs\d\+\ze\s' if get(blame, 0) =~# blame_regex && get(blame, -1) =~# blame_regex