diff --git a/lua/spacevim/plugin/flygrep.lua b/lua/spacevim/plugin/flygrep.lua index 5b887a7f5..0d66effd5 100644 --- a/lua/spacevim/plugin/flygrep.lua +++ b/lua/spacevim/plugin/flygrep.lua @@ -317,6 +317,7 @@ end local function close_buffer() if grepid > 0 then + grepid = 0 jobstop(grepid) end timer_stop(grep_timer_id)