fix: vim.v returns vim.NIL not nil anymore

This commit is contained in:
kiyan
2021-05-20 22:37:55 +02:00
parent 18fffc09bf
commit ef570074e0

View File

@@ -148,7 +148,7 @@ local function refresh_nodes(node)
end
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)