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

fix(flygrep): clear mode when open flygrep

This commit is contained in:
wsdjeg 2022-10-10 19:28:56 +08:00
parent 36085f623e
commit 85d3336201

View File

@ -565,6 +565,7 @@ function M.open(argv)
logger.warn(' [flygrep] make sure you have one search tool in your PATH')
return
end
mode = ''
mpt._handle_fly = flygrep
buffer_id = vim.api.nvim_create_buf(false, true)
local flygrep_win_height = 16