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 +++++++++++++++++- atom/styles/styles.less | 15 +++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) (limited to 'atom') 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-[^ ]*:" diff --git a/atom/styles/styles.less b/atom/styles/styles.less index e1a749a3..7aa18ef7 100644 --- a/atom/styles/styles.less +++ b/atom/styles/styles.less @@ -1,5 +1,20 @@ atom-text-editor.editor { .syntax--source.syntax--subx { + .syntax--header-comment.syntax--subx { + color: #ccccff; + } + .syntax--comment-sub-1.syntax--subx { + color: #888888; + } + .syntax--comment-sub-2.syntax--subx { + color: #666666; + } + .syntax--comment.syntax--subx { + color: #8888ff; + } + .syntax--strings.syntax--subx { + color: cyan; + } .syntax--function.syntax--subx { color: orange; } -- cgit 1.4.1-2-gfad0 f='/danisanti/profani-tty/stats/tests/unittests/test_cmd_otr.h'>stats
path: root/tests/unittests/test_cmd_otr.h
blob: 5343cc572ee5dc4a3ba923263cea12200f422a4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37