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

Fix buffer_id in flygrep (#4288)

This commit is contained in:
Wang Shidong 2021-06-18 21:28:43 +08:00 committed by GitHub
parent f4dd68dbf4
commit 36896f7dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -840,6 +840,7 @@ function! SpaceVim#plugins#flygrep#open(argv) abort
else
noautocmd botright split __flygrep__
let s:flygrep_win_id = win_getid()
let s:buffer_id = bufnr('__flygrep__')
endif
if exists('&winhighlight')
set winhighlight=Normal:Pmenu,EndOfBuffer:Pmenu,CursorLine:PmenuSel