From fccc159b48b91ad97c32d9784141ed9aecaf2822 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 23 Nov 2020 19:51:10 +0100 Subject: fix: make version check work on non-CI environments --- lua/nvim-treesitter.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/nvim-treesitter.lua b/lua/nvim-treesitter.lua index aeee269d2..bde7c2ffc 100644 --- a/lua/nvim-treesitter.lua +++ b/lua/nvim-treesitter.lua @@ -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 -- cgit v1.2.3-70-g09d2