mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
fix: make version check work on non-CI environments
This commit is contained in:
parent
808765a6c8
commit
fccc159b48
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
--TODO(theHamsta): remove once stabilized!
|
|
||||||
if not pcall(require,"vim.treesitter.languagetree")
|
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!")
|
error("nvim-treesitter requires a more recent Neovim nightly version!")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue