Skip to content

Commit

Permalink
Change highlight of labeled arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilios1995 committed May 27, 2024
1 parent 2f9044a commit 602e771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion queries/rescript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
(value_identifier) @variable)

(labeled_argument
label: (value_identifier) @property)
label: (value_identifier) @variable.parameter)


; Parameters
Expand Down
2 changes: 1 addition & 1 deletion test/highlight/expressions.res
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ let x = y.x
// ^variable.member

f(~a=b, ())
// ^property
// ^variable.parameter
// ^constant.builtin

0 comments on commit 602e771

Please sign in to comment.