From f81c39dd995a9c6620c0b86819df39cc7acf83e6 Mon Sep 17 00:00:00 2001 From: Emilio Srougo Date: Mon, 24 Jun 2024 08:40:03 -0600 Subject: [PATCH] Remove metadata from unit highlight --- queries/rescript/highlights.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/queries/rescript/highlights.scm b/queries/rescript/highlights.scm index ca7d829..783bc87 100644 --- a/queries/rescript/highlights.scm +++ b/queries/rescript/highlights.scm @@ -21,10 +21,6 @@ (#any-of? @type.builtin "int" "char" "string" "float" "bool" "unit")) - -((unit) @constant.builtin - (#set! "priority" 105)) - [ (variant_identifier) (polyvar_identifier) @@ -253,6 +249,8 @@ ">" ] @punctuation.bracket +(unit ["(" ")"] @constant.builtin) + (template_substitution "${" @punctuation.special "}" @punctuation.special) @none