about summary refs log tree commit diff stats
path: root/atom/grammars
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-28 18:40:44 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-28 18:40:44 -0800
commitdc6bd625f2ac8e67b7507431ab4fa6f72e5fd5bb (patch)
treec6acd503667447c046a60a01cb006d549fcaf339 /atom/grammars
parentbc81e7719770c903930899285ba6b7e96a9c70e3 (diff)
downloadmu-dc6bd625f2ac8e67b7507431ab4fa6f72e5fd5bb.tar.gz
5839 - colors for comments and string literals
Diffstat (limited to 'atom/grammars')
-rw-r--r--atom/grammars/subx.json18
1 files changed, 17 insertions, 1 deletions
diff --git a/atom/grammars/subx.json b/atom/grammars/subx.json
index d75ddda6..8ba8c077 100644
--- a/atom/grammars/subx.json
+++ b/atom/grammars/subx.json
@@ -4,10 +4,26 @@
     "fileTypes": ["subx"],
     "patterns": [
         {
-            "name": "comment.line.subx",
+            "name": "header-comment.subx",
+            "match": "# - .*"
+        },
+        {
+            "name": "comment-sub-2.subx",
+            "match": "# \\. \\. .*"
+        },
+        {
+            "name": "comment-sub-1.subx",
+            "match": "# \\. .*"
+        },
+        {
+            "name": "comment.subx",
             "match": "#.*"
         },
         {
+            "name": "strings.subx",
+            "match": "\"[^\"]*\""
+        },
+        {
             "name": "test.subx",
             "match": "^test-[^ ]*:"
         },