X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/39b375df57e4dac9c2003061fb9674b306834021..refs/heads/main:/queries/highlights.scm diff --git a/queries/highlights.scm b/queries/highlights.scm index b7a3e9e..7d4e2ad 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -1,10 +1,11 @@ -(type_annotation) @type +(type_annotation) @punctuation (member_type) @operator -(member) @property +(member) @method (parameter_list) @function -(parameter_list (identifier (optional_value) @variable.parameter.optional)) -(parameter_list (identifier) @variable.parameter) -(identifier) @keyword +(parameter_list (identifier (optional_value) @parameter.optional)) +(parameter_list (identifier) @parameter) +(parameter_list (identifier) @parameter) +(entry (identifier) @type.definition) (throw_statement) @operator (return_statement) @operator (comment) @comment