From c29abe0cb1edd9efcf898b42c9e0dd7cafed7327 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 12 Aug 2024 17:26:31 -0400 Subject: [PATCH] Update TSS syntax highlighting file with constants --- internal/styles/tss/tss.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/styles/tss/tss.yaml b/internal/styles/tss/tss.yaml index 03dfc70..abd1cee 100644 --- a/internal/styles/tss/tss.yaml +++ b/internal/styles/tss/tss.yaml @@ -10,6 +10,9 @@ rules: - type: "\\b([A-Z][a-zA-Z0-9]*).*:" - identifier.var: "\\$[a-zA-Z0-9]*\\b" - identifier.class: "(\\*|[a-z][a-zA-Z0-9]*)\\.(\\*|[A-Z][a-zA-Z0-9]*)" + - constant: "\\b(tile|center)\\b" + - constant: "\\b(start|middle|end|even)\\b" + - constant.bool: "\\b(true|false)\\b" - special: "(\\/|,|\\;|:|\\.)" - symbol.operator: "(=|\\*)" - symbol.brackets: "(\\{\\[|\\}\\])"