mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
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:
@@ -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' : ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user