From 05798284ff3dfec983906a7e2adea91b20727d42 Mon Sep 17 00:00:00 2001 From: Nathan Smith Date: Mon, 17 Aug 2020 19:30:04 -0700 Subject: @function.method -> @method --- queries/javascript/highlights.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'queries/javascript') diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm index fe9b3a28c..19ebd4484 100644 --- a/queries/javascript/highlights.scm +++ b/queries/javascript/highlights.scm @@ -35,22 +35,22 @@ (function_declaration name: (identifier) @function) (method_definition - name: (property_identifier) @function.method) + name: (property_identifier) @method) (pair - key: (property_identifier) @function.method + key: (property_identifier) @method value: (function)) (pair - key: (property_identifier) @function.method + key: (property_identifier) @method value: (arrow_function)) (assignment_expression left: (member_expression - property: (property_identifier) @function.method) + property: (property_identifier) @method) right: (arrow_function)) (assignment_expression left: (member_expression - property: (property_identifier) @function.method) + property: (property_identifier) @method) right: (function)) (variable_declarator @@ -75,7 +75,7 @@ (call_expression function: (member_expression - property: (property_identifier) @function.method)) + property: (property_identifier) @method)) ; Variables ;---------- -- cgit v1.2.3-70-g09d2