CI: Improved parser installation logic

This commit is contained in:
Daniel Kempkens 2021-05-18 17:51:57 +02:00 committed by Stephan Seitz
parent 06f8689aea
commit ba45e0d3ed
2 changed files with 0 additions and 6 deletions

View file

@ -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

View file

@ -1,7 +1,6 @@
brew update
brew install llvm --HEAD
brew install neovim --HEAD
brew install tree-sitter
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start