|
64 | 64 | ((stable_identifier (identifier) @namespace))
|
65 | 65 |
|
66 | 66 | ((import_declaration
|
67 |
| - path: (identifier) @type) (#lua-match? @type "^[A-Z]")) |
68 |
| -((stable_identifier (identifier) @type) (#lua-match? @type "^[A-Z]")) |
| 67 | + path: (identifier) @type) (#match? @type "^[A-Z]")) |
| 68 | +((stable_identifier (identifier) @type) (#match? @type "^[A-Z]")) |
69 | 69 |
|
70 | 70 | (export_declaration
|
71 | 71 | path: (identifier) @namespace)
|
72 | 72 | ((stable_identifier (identifier) @namespace))
|
73 | 73 |
|
74 | 74 | ((export_declaration
|
75 |
| - path: (identifier) @type) (#lua-match? @type "^[A-Z]")) |
76 |
| -((stable_identifier (identifier) @type) (#lua-match? @type "^[A-Z]")) |
| 75 | + path: (identifier) @type) (#match? @type "^[A-Z]")) |
| 76 | +((stable_identifier (identifier) @type) (#match? @type "^[A-Z]")) |
77 | 77 |
|
78 |
| -((namespace_selectors (identifier) @type) (#lua-match? @type "^[A-Z]")) |
| 78 | +((namespace_selectors (identifier) @type) (#match? @type "^[A-Z]")) |
79 | 79 |
|
80 | 80 | ; method invocation
|
81 | 81 |
|
|
91 | 91 |
|
92 | 92 | ((call_expression
|
93 | 93 | function: (identifier) @constructor)
|
94 |
| - (#lua-match? @constructor "^[A-Z]")) |
| 94 | + (#match? @constructor "^[A-Z]")) |
95 | 95 |
|
96 | 96 | (generic_function
|
97 | 97 | function: (identifier) @function.call)
|
|
114 | 114 |
|
115 | 115 | (field_expression field: (identifier) @property)
|
116 | 116 | (field_expression value: (identifier) @type
|
117 |
| - (#lua-match? @type "^[A-Z]")) |
| 117 | + (#match? @type "^[A-Z]")) |
118 | 118 |
|
119 | 119 | (infix_expression operator: (identifier) @operator)
|
120 | 120 | (infix_expression operator: (operator_identifier) @operator)
|
|
245 | 245 |
|
246 | 246 | (operator_identifier) @operator
|
247 | 247 |
|
248 |
| -((identifier) @type (#lua-match? @type "^[A-Z]")) |
| 248 | +((identifier) @type (#match? @type "^[A-Z]")) |
249 | 249 | ((identifier) @variable.builtin
|
250 |
| - (#lua-match? @variable.builtin "^this$")) |
| 250 | + (#match? @variable.builtin "^this$")) |
251 | 251 |
|
252 | 252 | (
|
253 | 253 | (identifier) @function.builtin
|
254 |
| - (#lua-match? @function.builtin "^super$") |
| 254 | + (#match? @function.builtin "^super$") |
255 | 255 | )
|
256 | 256 |
|
257 | 257 | ;; Scala CLI using directives
|
|
0 commit comments