summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/foam/highlights.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/foam/highlights.scm b/queries/foam/highlights.scm
index 2c33a6fd..defa2ce4 100644
--- a/queries/foam/highlights.scm
+++ b/queries/foam/highlights.scm
@@ -37,7 +37,7 @@
;; Literal numbers and strings
(number_literal) @float
(string_literal) @string
-(escape_sequence) @escape
+(escape_sequence) @string.escape
;; Treat [m^2 s^-2] the same as if it was put in numbers format
(dimensions dimension: (identifier) @float)
@@ -52,8 +52,11 @@
"}"
"#{"
"#}"
+] @punctuation.bracket
+
+[
";"
-] @punctuation
+] @punctuation.delimiter
;; Special identifiers
([(identifier) "on" "off" "true" "false" "yes" "no"] @constant.builtin