From 602e771c175432fd00e4ca2a0489c6499db8b093 Mon Sep 17 00:00:00 2001 From: Emilio Srougo Date: Sun, 26 May 2024 18:21:53 -0600 Subject: [PATCH] Change highlight of labeled arguments --- queries/rescript/highlights.scm | 2 +- test/highlight/expressions.res | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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