diff options
| author | Daniel Kempkens <daniel+git@kempkens.io> | 2021-05-18 17:51:57 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-05-18 19:10:06 +0200 |
| commit | ba45e0d3ed9bce1b6b28189f79da3955d8d3e50c (patch) | |
| tree | f218abe98561a0be35f3863d112a99a5b5a7d481 /lua/nvim-treesitter | |
| parent | 06f8689aea164652eef5835d0614c51ec0f0b9d5 (diff) | |
CI: Improved parser installation logic
Diffstat (limited to 'lua/nvim-treesitter')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 58b50bff..22e34b76 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -154,11 +154,6 @@ 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 and vim.env.CI then - print("Skipping language "..lang.." on CI (requires npm)!") - return - end - generate_from_grammar = repo.requires_generate_from_grammar or generate_from_grammar if generate_from_grammar and vim.fn.executable('tree-sitter') ~= 1 then |
