Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/ini/syntaxes/ini.tmLanguage.json
3292 views
1
{
2
"information_for_contributors": [
3
"This file has been converted from https://github.com/textmate/ini.tmbundle/blob/master/Syntaxes/Ini.plist",
4
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
5
"Once accepted there, we are happy to receive an update request."
6
],
7
"version": "https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6",
8
"name": "Ini",
9
"scopeName": "source.ini",
10
"patterns": [
11
{
12
"begin": "(^[ \\t]+)?(?=#)",
13
"beginCaptures": {
14
"1": {
15
"name": "punctuation.whitespace.comment.leading.ini"
16
}
17
},
18
"end": "(?!\\G)",
19
"patterns": [
20
{
21
"begin": "#",
22
"beginCaptures": {
23
"0": {
24
"name": "punctuation.definition.comment.ini"
25
}
26
},
27
"end": "\\n",
28
"name": "comment.line.number-sign.ini"
29
}
30
]
31
},
32
{
33
"begin": "(^[ \\t]+)?(?=;)",
34
"beginCaptures": {
35
"1": {
36
"name": "punctuation.whitespace.comment.leading.ini"
37
}
38
},
39
"end": "(?!\\G)",
40
"patterns": [
41
{
42
"begin": ";",
43
"beginCaptures": {
44
"0": {
45
"name": "punctuation.definition.comment.ini"
46
}
47
},
48
"end": "\\n",
49
"name": "comment.line.semicolon.ini"
50
}
51
]
52
},
53
{
54
"captures": {
55
"1": {
56
"name": "keyword.other.definition.ini"
57
},
58
"2": {
59
"name": "punctuation.separator.key-value.ini"
60
}
61
},
62
"match": "\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)"
63
},
64
{
65
"captures": {
66
"1": {
67
"name": "punctuation.definition.entity.ini"
68
},
69
"3": {
70
"name": "punctuation.definition.entity.ini"
71
}
72
},
73
"match": "^(\\[)(.*?)(\\])",
74
"name": "entity.name.section.group-title.ini"
75
},
76
{
77
"begin": "'",
78
"beginCaptures": {
79
"0": {
80
"name": "punctuation.definition.string.begin.ini"
81
}
82
},
83
"end": "'",
84
"endCaptures": {
85
"0": {
86
"name": "punctuation.definition.string.end.ini"
87
}
88
},
89
"name": "string.quoted.single.ini",
90
"patterns": [
91
{
92
"match": "\\\\.",
93
"name": "constant.character.escape.ini"
94
}
95
]
96
},
97
{
98
"begin": "\"",
99
"beginCaptures": {
100
"0": {
101
"name": "punctuation.definition.string.begin.ini"
102
}
103
},
104
"end": "\"",
105
"endCaptures": {
106
"0": {
107
"name": "punctuation.definition.string.end.ini"
108
}
109
},
110
"name": "string.quoted.double.ini"
111
}
112
]
113
}
114