From 2b37219021e9a38b0ae959467ee01e7b76c971e7 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 31 Aug 2021 16:28:28 -0400 Subject: [PATCH] Fix check for -addr=other on nvim I arrived at 0.4.0 by blaming the documentation, but apparently the feature didn't land until later. --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index d578a75..771ae59 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -470,7 +470,7 @@ function! s:ProjectionistDetect() abort endif endfunction -let s:addr_other = has('patch-8.1.560') || has('nvim-0.4.0') ? '-addr=other' : '' +let s:addr_other = has('patch-8.1.560') || has('nvim-0.5.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' : ''