We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41b955c commit 7ffd82aCopy full SHA for 7ffd82a
lua/render-markdown/ui.lua
@@ -53,6 +53,9 @@ M.clear_valid = function(buf)
53
if not vim.api.nvim_buf_is_valid(buf) then
54
return false
55
end
56
+ if util.buf_to_win(buf) < 0 then
57
+ return false
58
+ end
59
if not vim.tbl_contains(state.config.file_types, vim.bo[buf].filetype) then
60
61
0 commit comments