mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
CI: Improved parser installation logic
This commit is contained in:
parent
06f8689aea
commit
ba45e0d3ed
2 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue