diff options
| -rw-r--r-- | queries/ecma/highlights.scm | 4 | ||||
| -rw-r--r-- | tests/query/highlights/ecma/test.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm index 1240dd4be..d05e4d5b8 100644 --- a/queries/ecma/highlights.scm +++ b/queries/ecma/highlights.scm @@ -83,11 +83,11 @@ ;-------------------------- (call_expression - function: (identifier) @function) + function: (identifier) @function.call) (call_expression function: (member_expression - property: [(property_identifier) (private_property_identifier)] @method)) + property: [(property_identifier) (private_property_identifier)] @method.call)) ; Variables ;---------- diff --git a/tests/query/highlights/ecma/test.ts b/tests/query/highlights/ecma/test.ts index e3c73d6ae..03081fb2b 100644 --- a/tests/query/highlights/ecma/test.ts +++ b/tests/query/highlights/ecma/test.ts @@ -15,11 +15,11 @@ class H { public_method() { // ^ method return this.#private_method(); - // ^ method + // ^ method.call } ok() { return this.public_method(); - // ^ method + // ^ method.call } } |
