From 34a40e70b8ccfb306c1106277c9dbbfa9ce40e37 Mon Sep 17 00:00:00 2001 From: Emilio Srougo Date: Wed, 20 Mar 2024 21:57:09 -0600 Subject: [PATCH] Highlight members of records and modules --- queries/rescript/highlights.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/queries/rescript/highlights.scm b/queries/rescript/highlights.scm index d01db56..ecf31f3 100644 --- a/queries/rescript/highlights.scm +++ b/queries/rescript/highlights.scm @@ -30,6 +30,13 @@ (member_expression (property_identifier) @property) (module_identifier) @module +(record_pattern + (value_identifier) @variable.member) + +(value_identifier_path + (module_identifier) + (value_identifier) @variable.member) + ; Parameters ;----------------