diff options
| -rw-r--r-- | queries/hack/highlights.scm | 6 | ||||
| -rw-r--r-- | tests/query/highlights/xhp-intro.hack | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/queries/hack/highlights.scm b/queries/hack/highlights.scm index 9ec38266..0ae9a9bc 100644 --- a/queries/hack/highlights.scm +++ b/queries/hack/highlights.scm @@ -177,14 +177,14 @@ (variable) @parameter) (call_expression - function: (qualified_identifier (identifier) @function .)) + function: (qualified_identifier (identifier) @function.call .)) (call_expression - function: (scoped_identifier (identifier) @function .)) + function: (scoped_identifier (identifier) @function.call .)) (call_expression function: (selection_expression - (qualified_identifier (identifier) @method .))) + (qualified_identifier (identifier) @method.call .))) (qualified_identifier (_) @namespace . diff --git a/tests/query/highlights/xhp-intro.hack b/tests/query/highlights/xhp-intro.hack index cc25f584..9c03cad2 100644 --- a/tests/query/highlights/xhp-intro.hack +++ b/tests/query/highlights/xhp-intro.hack @@ -38,7 +38,7 @@ final xhp class a_post extends x\element { 'document.getElementById("'.$id.'").submit(); return false;', ); $anchor->setAttribute('href', '#'); - // ^ method + // ^ method.call return $form; } |
