mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
test(flygrep): check vim patch 7.4.1557
This commit is contained in:
parent
ce699e7af7
commit
6c27cd991c
@ -863,7 +863,11 @@ function! SpaceVim#plugins#flygrep#open(argv) abort
|
||||
\ })
|
||||
else
|
||||
noautocmd botright split __flygrep__
|
||||
let s:flygrep_win_id = win_getid()
|
||||
if has('patch-7.4.1557')
|
||||
let s:flygrep_win_id = win_getid()
|
||||
else
|
||||
let s:flygrep_win_id = winnr()
|
||||
endif
|
||||
let s:buffer_id = bufnr('__flygrep__')
|
||||
endif
|
||||
if exists('&winhighlight')
|
||||
|
Loading…
Reference in New Issue
Block a user