fix(lint): make neovim 0.11 typecheck happy (#1844)

This commit is contained in:
yetone
2025-04-10 14:14:47 +08:00
committed by GitHub
parent 04336913b3
commit 7e31317fbc
9 changed files with 38 additions and 10 deletions

View File

@@ -432,7 +432,6 @@ function M.setup()
})
api.nvim_set_decoration_provider(NAMESPACE, {
on_buf = function(_, bufnr, _) return Utils.is_valid_buf(bufnr) end,
on_win = function(_, _, bufnr, _, _)
if visited_buffers[bufnr] then M.process(bufnr) end
end,