Skip to content

Commit

Permalink
chore: apply Suggested change
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Apr 24, 2022
1 parent 01bf5b5 commit eaa89e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/queries/vala/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
(method_declaration (symbol (identifier) @function))
(local_function_declaration (identifier) @function)
(destructor_declaration (identifier) @function)
(creation_method_declaration (symbol (symbol) @type (identifier) @constructor))
(creation_method_declaration (symbol (symbol (identifier) @type) (identifier) @constructor))
(creation_method_declaration (symbol (identifier) @constructor))
(enum_declaration (symbol) @type)
(enum_value (identifier) @constant)
Expand All @@ -40,7 +40,8 @@
(lambda_expression (identifier) @variable.parameter)
(parameter (identifier) @variable.parameter)
(property_declaration (symbol (identifier) @variable.other.member))
(field_declaration (identifier) @variable.other.member)
(field_declaration (identifier) @variable)
(identifier) @variable
[
(this_access)
(base_access)
Expand Down

0 comments on commit eaa89e9

Please sign in to comment.