fix: vim.v returns vim.NIL not nil anymore
This commit is contained in:
@@ -148,7 +148,7 @@ local function refresh_nodes(node)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.refresh_tree()
|
function M.refresh_tree()
|
||||||
if vim.v.exiting ~= nil then return end
|
if vim.v.exiting ~= vim.NIL then return end
|
||||||
|
|
||||||
refresh_nodes(M.Tree)
|
refresh_nodes(M.Tree)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user