1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +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()
else
close_preview_win()
preview_able = false
end
vim.cmd('redraw')
mpt._build_prompt()