From aaada656230d8dfa153780320d41248629243c98 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 3 Jan 2024 19:20:35 -0600 Subject: [PATCH] Add some missing operator tokens and improve `mod` highlighting --- queries/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/queries/highlights.scm b/queries/highlights.scm index a1874be..30a9484 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -16,6 +16,8 @@ (parameter) @parameter (variadic_parameters) @parameter +(module (NAME) @namespace) + ["if" "else"] @conditional (string) @string @@ -38,7 +40,7 @@ "set" ] @keyword -["@" "==" "!=" "+" ":="] @operator +["@" "==" "!=" "+" ":=" "*" ":" "/" "?"] @operator [ "(" ")" "[" "]" "{{" "}}" "{" "}"] @punctuation.bracket