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 committed 2021-08-31 12:01:21 -04:00
1 parent 328501d4f0
commit 30bf224453
2 files changed
+26 -10

No files matched your search

+1 -1
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' : ''