From: Ruben Beltran del Rio Date: Wed, 4 Oct 2023 14:56:37 +0000 (+0200) Subject: Test more specific highlighting X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/commitdiff_plain/f895159f06c9512d66115fb7dd2f517d4c215ba2 Test more specific highlighting --- diff --git a/queries/highlights.scm b/queries/highlights.scm index 0a6d9ea..66282a6 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -4,7 +4,8 @@ (parameter_list) @function (parameter_list (identifier (optional_value) @parameter.optional)) (parameter_list (identifier) @parameter) -(identifier) @type.definition +(parameter_list (identifier) @parameter) +(entry (identifier) @type.definition) (throw_statement) @operator (return_statement) @operator (comment) @comment