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.
This commit is contained in:
Tim Pope
2021-08-31 16:28:28 -04:00
parent 9ace6c6aca
commit 2b37219021

View File

@@ -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' : ''