mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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")
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue