about summary refs log tree commit diff stats
path: root/editor/atom/grammars/subx.json
blob: 8ba8c0770f32f7661acd3fe558d4c9adeb26d824 (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
38
39
40
41
42
43
{
    "scopeName": "source.subx",
    "name": "SubX",
    "fileTypes": ["subx"],
    "patterns": [
        {
            "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-[^ ]*:"
        },
        {
            "name": "global.subx",
            "match": "^[A-Z][^ ]*:"
        },
        {
            "name": "function.subx",
            "match": "^[^_$ #][^ ]*:"
        },
        {
            "name": "label.subx",
            "match": "^[_$][^ ]*:"
        }
    ]
}