Skip to content

Commit

Permalink
fix: nvim_win_close force = true
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Sep 14, 2022
1 parent 33415aa commit ca73a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/which-key/view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function M.hide()
M.buf = nil
end
if M.win and vim.api.nvim_win_is_valid(M.win) then
vim.api.nvim_win_close(M.win, { force = true })
vim.api.nvim_win_close(M.win, true)
M.win = nil
end
if M.is_visual_multi_mod then
Expand Down

0 comments on commit ca73a0e

Please sign in to comment.