1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-23 17:49:57 +08:00

fix(flygrep): fix toggle_preview function

This commit is contained in:
wsdjeg 2022-10-10 14:05:29 +08:00
parent 888ff60fa9
commit baf8ccd498

View File

@ -457,6 +457,7 @@ local function toggle_preview()
preview() preview()
else else
close_preview_win() close_preview_win()
preview_able = false
end end
vim.cmd('redraw') vim.cmd('redraw')
mpt._build_prompt() mpt._build_prompt()