]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/commitdiff
Test more specific highlighting
authorRuben Beltran del Rio <redacted>
Wed, 4 Oct 2023 14:56:37 +0000 (16:56 +0200)
committerRuben Beltran del Rio <redacted>
Wed, 4 Oct 2023 14:56:37 +0000 (16:56 +0200)
queries/highlights.scm

index 0a6d9ea3fabf403148f44354c203e3a5c56429ca..66282a60989d4a5617f55bac372f374ad4f656d2 100644 (file)
@@ -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