fix: make version check work on non-CI environments

This commit is contained in:
Stephan Seitz 2020-11-23 19:51:10 +01:00 committed by Stephan Seitz
parent 808765a6c8
commit fccc159b48

View file

@ -1,6 +1,5 @@
--TODO(theHamsta): remove once stabilized!
if not pcall(require,"vim.treesitter.languagetree")
and vim.fn.getenv('CI') == 0 then -- TODO(vigoux): remove once new nightlies are built
and vim.fn.getenv('CI') == vim.NIL then -- TODO(vigoux): remove once new nightlies are built
error("nvim-treesitter requires a more recent Neovim nightly version!")
end