diff --git a/queries/rescript/highlights.scm b/queries/rescript/highlights.scm index ffcfe0a..a423715 100644 --- a/queries/rescript/highlights.scm +++ b/queries/rescript/highlights.scm @@ -48,7 +48,7 @@ (value_identifier) @variable) (labeled_argument - label: (value_identifier) @property) + label: (value_identifier) @variable.parameter) ; Parameters diff --git a/test/highlight/expressions.res b/test/highlight/expressions.res index 7c12587..f9fce81 100644 --- a/test/highlight/expressions.res +++ b/test/highlight/expressions.res @@ -76,5 +76,5 @@ let x = y.x // ^variable.member f(~a=b, ()) -// ^property +// ^variable.parameter // ^constant.builtin