Fix direct blame maps in short files

Patch 8.1.560 is the gift that keeps on giving.  Let's work around this
for now by bolting on a new behavior to the previously unused :0,0Git
blame.  Long term, we probably want to come up with a different
interface.
This commit is contained in:
Tim Pope
2021-08-31 11:57:58 -04:00
parent 328501d4f0
commit 30bf224453
2 changed files with 26 additions and 10 deletions

View File

@@ -470,7 +470,7 @@ function! s:ProjectionistDetect() abort
endif
endfunction
let s:addr_other = has('patch-8.1.560') ? '-addr=other' : ''
let s:addr_other = has('patch-8.1.560') || has('nvim-0.4.0') ? '-addr=other' : ''
let s:addr_tabs = has('patch-7.4.542') ? '-addr=tabs' : ''
let s:addr_wins = has('patch-7.4.542') ? '-addr=windows' : ''