mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:30:05 +08:00
fix(flygrep): skip callback when close buffer
This commit is contained in:
parent
5a068d1f79
commit
23758a3383
@ -317,6 +317,7 @@ end
|
|||||||
|
|
||||||
local function close_buffer()
|
local function close_buffer()
|
||||||
if grepid > 0 then
|
if grepid > 0 then
|
||||||
|
grepid = 0
|
||||||
jobstop(grepid)
|
jobstop(grepid)
|
||||||
end
|
end
|
||||||
timer_stop(grep_timer_id)
|
timer_stop(grep_timer_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user