-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathnimble.json
89 lines (89 loc) · 2.81 KB
/
nimble.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "nimble",
"scopeName": "source.nimble",
"fileTypes": [ "nimble" ],
"foldingStartMarker": "",
"foldingStopMarker": "",
"patterns": [
{ "include": "#comments" },
{ "include": "#strings" },
{ "include": "#category" },
{ "include": "#keywords" },
{ "include": "#text" }
],
"repository": {
"category": {
"patterns": [
{
"name": "keyword.control.nimble",
"match": "^\\[\\w+\\]$"
}
]
},
"comments": {
"patterns": [
{
"name": "comment.line.nimble",
"match": "#.*$"
}
]
},
"keywords": {
"patterns": [
{
"name": "entity.name.section.nimble",
"match": "author|name|version|description|license"
},
{
"name": "variable.nimble",
"match": "SkipDirs|SkipFiles|SkipExt|InstallDirs|InstallFiles|InstallExt|srcDir|binDir|bin|backend|requires"
},
{
"name": "meta.selector.nimble",
"match": "\\:"
}
]
},
"strings": {
"patterns": [
{
"name": "string.quoted.double.nimble",
"begin": "(?=[^\\\\])(\")",
"end": "(\")",
"beginCaptures": {
"1": {
"name": "punctuation.definition.string.begin.nimble"
}
},
"endCaptures": {
"1": {
"name": "punctuation.definition.string.end.nimble"
}
},
"patterns": [
{
"name": "punctuation.separator.string.ignore-eol.nimble",
"match": "\\\\$[ \\t]*"
},
{
"name": "constant.character.string.escape.nimble",
"match": "\\\\([\\\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})"
},
{
"name": "invalid.illeagal.character.string.nimble",
"match": "\\\\(?![\\\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})."
}
]
}
]
},
"text": {
"patterns": [
{
"name": "text.nimble",
"match": "\\\\"
}
]
}
}
}