Skip to content

Commit

Permalink
Disable some languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Feb 17, 2024
1 parent f2df329 commit e38ce31
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,18 @@

repos = []
vendors = []
# https://github.com/tree-sitter/py-tree-sitter/issues/189
disabled_langs = [
"vue", # html, angular
"angular", # html
"purescript", # haskell, unison
"unison", # haskell
"svelte", # org
"terraform", # hcl
]
for lang, data in parsers.items():
if lang in disabled_langs:
continue
url = data["install_info"]["url"]
commit = lockfile[lang]["revision"]
clone_directory = os.path.join("vendor", url.rstrip("/").split("/")[-1])
Expand Down

0 comments on commit e38ce31

Please sign in to comment.