X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/dc87cd894bad9ad0202dcd4a89e7d0af47c53fc9..7e8e1a0ccb55135ae4fadf134f3cc2a5ef92e71a:/queries/highlights.scm?ds=sidebyside diff --git a/queries/highlights.scm b/queries/highlights.scm index 9536ffd..b7a3e9e 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -2,7 +2,9 @@ (member_type) @operator (member) @property (parameter_list) @function -(parameter_list (identifier) @parameter) +(parameter_list (identifier (optional_value) @variable.parameter.optional)) +(parameter_list (identifier) @variable.parameter) (identifier) @keyword (throw_statement) @operator (return_statement) @operator +(comment) @comment