Skip to content

Commit

Permalink
Upgraded to tree-sitter-cli 0.24.3
Browse files Browse the repository at this point in the history
Synced corpus tests with source of truth
Fixed breaking change to rust consumer
Fixed errors in query files

Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com>
  • Loading branch information
ahelwer committed Oct 20, 2024
1 parent da9cf97 commit 8a8413f
Show file tree
Hide file tree
Showing 23 changed files with 949,259 additions and 961,981 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
version: 3.1.6
actions-cache-folder: 'emsdk-cache'
- name: Generate parser WASM
run: npx tree-sitter build-wasm
run: npx tree-sitter build --wasm
- name: Package node tarball
run: npm pack
- name: Upload node tarball to workflow artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
# Validation
- name: Generate parser WASM
run: npx tree-sitter build-wasm
run: npx tree-sitter build --wasm
- name: Check rust crate
run: cargo check
- name: Test NPM publish scoped package
Expand Down
5 changes: 0 additions & 5 deletions integrations/nvim/queries/tlaplus/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
"DEF"
"DEFINE"
"DEFS"
"DOMAIN"
"ELSE"
"ENABLED"
"EXCEPT"
"EXTENDS"
"HAVE"
Expand All @@ -45,14 +43,11 @@
"RECURSIVE"
"SF_"
"STATE"
"SUBSET"
"SUFFICES"
"TAKE"
"TEMPORAL"
"THEN"
"THEOREM"
"UNCHANGED"
"UNION"
"USE"
"VARIABLE"
"VARIABLES"
Expand Down
18 changes: 2 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"node-addon-api": "^7.1.0"
},
"peerDependencies": {
"tree-sitter-cli": "0.22.5"
"tree-sitter-cli": "0.24.3"
},
"peerDependenciesMeta": {
"tree_sitter": {
Expand All @@ -44,7 +44,7 @@
},
"devDependencies": {
"prebuildify": "6.0.1",
"tree-sitter-cli": "0.22.5"
"tree-sitter-cli": "0.24.3"
},
"files": [
"grammar.js",
Expand All @@ -54,19 +54,5 @@
"queries/*",
"src/**",
"*.wasm"
],
"tree-sitter": [
{
"scope": "source.tlaplus",
"file-types": [
"tla"
],
"highlights": [
"queries/highlights.scm"
],
"locals": [
"queries/locals.scm"
]
}
]
}
5 changes: 0 additions & 5 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"DEF"
"DEFINE"
"DEFS"
"DOMAIN"
"ELSE"
"ENABLED"
"EXCEPT"
"EXTENDS"
"HAVE"
Expand All @@ -46,14 +44,11 @@
"RECURSIVE"
"SF_"
"STATE"
"SUBSET"
"SUFFICES"
"TAKE"
"TEMPORAL"
"THEN"
"THEOREM"
"UNCHANGED"
"UNION"
"USE"
"VARIABLE"
"VARIABLES"
Expand Down
1 change: 1 addition & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 21 additions & 45 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8a8413f

Please sign in to comment.