From 7df9f07e1fd53d560f2e352d5faa3eba92cd1582 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 1 Aug 2019 12:33:49 -0400 Subject: [PATCH] Compensate for blame.coloring Closes https://github.com/tpope/vim-fugitive/issues/1301 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index d555b68..19145fe 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4360,7 +4360,7 @@ function! s:BlameCommand(line1, line2, range, count, bang, mods, reg, arg, args) elseif filter(copy(a:args),'v:val !~# "^\\%(--abbrev=\\d*\\|--relative-date\\|--first-parent\\|--root\\|--show-name\\|-\\%([ltfnsew]\\|[MC]\\d*\\)\\+\\)$"') != [] call s:throw('unsupported option') endif - let cmd = ['--no-pager', 'blame', '--show-number'] + let cmd = ['--no-pager', '-c', 'blame.coloring=none', 'blame', '--show-number'] if a:count > 0 let cmd += ['-L', (a:line1 ? a:line1 : line('.')) . ',' . (a:line1 ? a:line1 : line('.'))] endif