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 aebd36b commit 0c0e1e0Copy full SHA for 0c0e1e0
lua/ufo/fold/init.lua
@@ -71,6 +71,11 @@ function Fold.update(bufnr)
71
fb:acquireRequest()
72
73
local function dispose(resolved)
74
+ ---@diagnostic disable-next-line: redefined-local
75
+ local fb = manager:get(bufnr)
76
+ if not fb then
77
+ return false
78
+ end
79
fb:releaseRequest()
80
local ok = ft == fb:filetype() and bt == fb:buftype()
81
if ok then
0 commit comments