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:
parent
888ff60fa9
commit
baf8ccd498
@ -457,6 +457,7 @@ local function toggle_preview()
|
||||
preview()
|
||||
else
|
||||
close_preview_win()
|
||||
preview_able = false
|
||||
end
|
||||
vim.cmd('redraw')
|
||||
mpt._build_prompt()
|
||||
|
Loading…
Reference in New Issue
Block a user