Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
fix invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 1, 2024
1 parent b1ef6e5 commit d98b623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/epo/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ local function close_popup_win(winid)
end

local function popup_markdown_set(wininfo)
if vim.tbl_isempty(wininfo) then
if vim.tbl_isempty(wininfo) or not api.nvim_win_is_valid(wininfo.winid) then
return
end
vim.wo[wininfo.winid].conceallevel = 2
Expand Down

0 comments on commit d98b623

Please sign in to comment.