From dc6bd625f2ac8e67b7507431ab4fa6f72e5fd5bb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 28 Dec 2019 18:40:44 -0800 Subject: 5839 - colors for comments and string literals --- atom/grammars/subx.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'atom/grammars/subx.json') 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,9 +4,25 @@ "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-[^ ]*:" -- cgit 1.4.1-2-gfad0