@willbooster/tree-sitter-zig 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-zig",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Zig grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -13,7 +13,7 @@
13
13
  type: (identifier) @type)
14
14
 
15
15
  ((identifier) @type
16
- (#lua-match? @type "^[A-Z_][a-zA-Z0-9_]*"))
16
+ (#match? @type "^[A-Z_][a-zA-Z0-9_]*"))
17
17
 
18
18
  (variable_declaration
19
19
  (identifier) @type
@@ -33,7 +33,7 @@
33
33
  ; Constants
34
34
 
35
35
  ((identifier) @constant
36
- (#lua-match? @constant "^[A-Z][A-Z_0-9]+$"))
36
+ (#match? @constant "^[A-Z][A-Z_0-9]+$"))
37
37
 
38
38
  [
39
39
  "null"
@@ -286,4 +286,4 @@
286
286
  (comment) @comment @spell
287
287
 
288
288
  ((comment) @comment.documentation
289
- (#lua-match? @comment.documentation "^//!"))
289
+ (#match? @comment.documentation "^//!"))
Binary file
package/tree-sitter.json CHANGED
@@ -15,7 +15,7 @@
15
15
  }
16
16
  ],
17
17
  "metadata": {
18
- "version": "2.0.0",
18
+ "version": "2.0.1",
19
19
  "license": "MIT",
20
20
  "description": "Zig grammar for tree-sitter",
21
21
  "authors": [