From 4af5fef1d9d3b5f4121113f8230afd9d3b95a161 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sun, 7 Mar 2021 19:16:49 +0100 Subject: Fixup CI --- lua/nvim-treesitter/install.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nvim-treesitter/install.lua') diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index fbc264c0..74f10026 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -153,7 +153,7 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync, end local parser_lib_name = install_folder..path_sep..lang..".so" - if repo.requires_generate_from_grammar ~= 1 and vim.env.CI then + if repo.requires_generate_from_grammar and vim.env.CI then print("Skipping language "..lang.." on CI (requires npm)!") return end -- cgit v1.2.3