1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00

test(flygrep): check vim patch 7.4.1557

This commit is contained in:
wsdjeg 2022-04-22 20:07:20 +08:00
parent ce699e7af7
commit 6c27cd991c

View File

@ -863,7 +863,11 @@ function! SpaceVim#plugins#flygrep#open(argv) abort
\ }) \ })
else else
noautocmd botright split __flygrep__ 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__') let s:buffer_id = bufnr('__flygrep__')
endif endif
if exists('&winhighlight') if exists('&winhighlight')