X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/0931d6ef75e5dc37ba6bd7bb92c369d1df99e6d3..4a1d56285559545a56cb7c79a0ea1564f01e09e5:/queries/highlights.scm?ds=sidebyside diff --git a/queries/highlights.scm b/queries/highlights.scm index 9536ffd..b4e04e4 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -2,7 +2,8 @@ (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