github-linguist 7.6.0 → 7.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/github-linguist +17 -4
- data/grammars/annotation.liquidhaskell.haskell.json +58 -11
- data/grammars/etc.json +472 -4
- data/grammars/hidden.manref.json +29 -0
- data/grammars/hidden.regexp.injection-shell.json +28 -0
- data/grammars/hint.haskell.json +58 -11
- data/grammars/hint.message.haskell.json +58 -11
- data/grammars/hint.type.haskell.json +58 -11
- data/grammars/injections.etc.json +601 -1
- data/grammars/markdown.plantuml.codeblock.json +26 -0
- data/grammars/source.4dm.json +1156 -0
- data/grammars/source.abap.json +7 -7
- data/grammars/source.abl.json +685 -83
- data/grammars/source.abnf.json +23 -1
- data/grammars/source.agda.json +33 -203
- data/grammars/source.ahk.json +9 -5
- data/grammars/source.angelscript.json +1 -1
- data/grammars/source.ballerina.json +55 -19
- data/grammars/source.c++.json +4 -4
- data/grammars/source.c.platform.json +584 -33
- data/grammars/source.chapel.json +7 -4
- data/grammars/source.csound.json +1 -1
- data/grammars/source.css.json +3 -3
- data/grammars/source.css.scss.json +164 -15
- data/grammars/source.curlrc.json +869 -65
- data/grammars/source.d.json +2 -2
- data/grammars/source.dart.json +58 -32
- data/grammars/source.dircolors.json +137 -0
- data/grammars/source.direct-x.json +135 -0
- data/grammars/source.ebnf.json +67 -39
- data/grammars/source.editorconfig.json +23 -5
- data/grammars/source.elixir.json +51 -0
- data/grammars/source.elm.json +1 -1
- data/grammars/source.emacs.lisp.json +10 -0
- data/grammars/source.faust.json +119 -0
- data/grammars/source.futhark.json +146 -0
- data/grammars/source.gcode.json +166 -8
- data/grammars/source.gedcom.json +196 -0
- data/grammars/source.generic-db.json +41 -0
- data/grammars/source.gfm.blade.json +15 -0
- data/grammars/source.gfm.json +1697 -1439
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.hack.json +200 -98
- data/grammars/source.haskell.json +58 -11
- data/grammars/source.hlsl.json +9 -5
- data/grammars/source.hosts.json +40 -0
- data/grammars/source.hsig.json +58 -11
- data/grammars/source.httpspec.json +1 -1
- data/grammars/source.hx.json +9 -5
- data/grammars/source.hxml.json +2 -2
- data/grammars/source.idris.json +1 -1
- data/grammars/source.igor.json +46 -2
- data/grammars/source.ini.npmrc.json +311 -0
- data/grammars/source.inno.json +133 -0
- data/grammars/source.inputrc.json +500 -0
- data/grammars/source.isabelle.root.json +1 -1
- data/grammars/source.jison.json +3 -0
- data/grammars/source.jisonlex.json +3 -0
- data/grammars/source.js.json +4 -4
- data/grammars/source.julia.json +70 -24
- data/grammars/source.kotlin.json +17 -51
- data/grammars/source.lcov.json +398 -0
- data/grammars/source.lean.json +20 -4
- data/grammars/source.lean.markdown.json +2598 -0
- data/grammars/source.lex.json +4 -4
- data/grammars/source.m2.json +125 -0
- data/grammars/source.m4.json +141 -99
- data/grammars/source.man-conf.json +47 -35
- data/grammars/source.matlab.json +437 -184
- data/grammars/source.mcfunction-snapshot.json +21388 -561
- data/grammars/source.mcfunction.json +55 -5
- data/grammars/source.meson.json +1 -1
- data/grammars/source.mlir.json +37 -317
- data/grammars/source.modula-3.json +10 -0
- data/grammars/source.msl.json +755 -0
- data/grammars/source.nasl.json +155 -0
- data/grammars/source.neon.json +381 -0
- data/grammars/source.nextflow.json +2 -2
- data/grammars/source.objc.platform.json +493 -35
- data/grammars/source.odin-ehr.json +806 -0
- data/grammars/source.odin.json +402 -0
- data/grammars/source.openbsd-pkg.contents.json +128 -0
- data/grammars/source.opts.json +12 -2
- data/grammars/source.perl6fe.json +1 -1
- data/grammars/source.postscript.json +358 -103
- data/grammars/source.prisma.json +435 -0
- data/grammars/source.purescript.json +29 -2
- data/grammars/source.python.json +52 -0
- data/grammars/source.q.json +150 -63
- data/grammars/source.qasm.json +66 -0
- data/grammars/source.ql.json +1408 -0
- data/grammars/source.r.json +4 -4
- data/grammars/source.reason.json +28 -16
- data/grammars/source.rego.json +124 -0
- data/grammars/source.sass.json +158 -3
- data/grammars/source.scala.json +53 -18
- data/grammars/source.sieve.json +383 -0
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.ssh-config.json +1 -14
- data/grammars/source.swift.json +162 -2
- data/grammars/source.sy.json +2088 -183
- data/grammars/source.tags.json +266 -0
- data/grammars/source.terraform.json +576 -132
- data/grammars/source.tnsaudit.json +256 -0
- data/grammars/source.ts.json +246 -70
- data/grammars/source.tsx.json +247 -71
- data/grammars/source.v.json +587 -761
- data/grammars/source.vim-snippet.json +645 -0
- data/grammars/source.viml.json +6 -6
- data/grammars/source.webassembly.json +10 -0
- data/grammars/source.webidl.json +8 -0
- data/grammars/source.wgetrc.json +1640 -0
- data/grammars/source.wsd.json +781 -0
- data/grammars/source.x86.json +7 -3
- data/grammars/source.zig.json +231 -360
- data/grammars/text.dfy.dafny.json +188 -0
- data/grammars/text.html.php.blade.json +535 -528
- data/grammars/text.html.riot.json +788 -0
- data/grammars/text.muse.json +1471 -0
- data/grammars/text.openbsd-pkg.desc.json +78 -0
- data/grammars/text.roff.json +49 -1
- data/grammars/text.sfd.json +21 -0
- data/grammars/text.tex.latex.haskell.json +58 -11
- data/grammars/text.vim-help.json +383 -0
- data/grammars/text.xml.svg.json +8 -2
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +4 -2
- data/lib/linguist/file_blob.rb +1 -1
- data/lib/linguist/generated.rb +96 -28
- data/lib/linguist/heuristics.yml +64 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +408 -49
- data/lib/linguist/lazy_blob.rb +10 -10
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +48129 -31562
- data/lib/linguist/shebang.rb +5 -3
- data/lib/linguist/vendor.yml +71 -60
- metadata +48 -17
- data/grammars/source.LS.json +0 -85
- data/grammars/source.MCPOST.json +0 -54
- data/grammars/source.MOD.json +0 -55
- data/grammars/source.apt.json +0 -18
- data/grammars/source.jlex.json +0 -322
- data/grammars/source.yaml-ext.json +0 -324
- data/grammars/text.html.abl.json +0 -70
@@ -0,0 +1,500 @@
|
|
1
|
+
{
|
2
|
+
"name": "Readline Init File",
|
3
|
+
"scopeName": "source.inputrc",
|
4
|
+
"patterns": [
|
5
|
+
{
|
6
|
+
"include": "#main"
|
7
|
+
}
|
8
|
+
],
|
9
|
+
"repository": {
|
10
|
+
"comment": {
|
11
|
+
"name": "comment.line.number-sign.ini.inputrc",
|
12
|
+
"begin": "#",
|
13
|
+
"end": "$",
|
14
|
+
"beginCaptures": {
|
15
|
+
"0": {
|
16
|
+
"name": "punctuation.definition.comment.ini.inputrc"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"conditional": {
|
21
|
+
"patterns": [
|
22
|
+
{
|
23
|
+
"name": "meta.conditional.inputrc",
|
24
|
+
"begin": "(?i)^\\s*((\\$)if)(?=\\s|$)(.*)",
|
25
|
+
"end": "(?i)^\\s*((\\$)endif)(?=\\s|$)",
|
26
|
+
"patterns": [
|
27
|
+
{
|
28
|
+
"include": "#main"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"beginCaptures": {
|
32
|
+
"1": {
|
33
|
+
"name": "keyword.control.flow.if.inputrc"
|
34
|
+
},
|
35
|
+
"2": {
|
36
|
+
"name": "punctuation.definition.directive.inputrc"
|
37
|
+
},
|
38
|
+
"3": {
|
39
|
+
"patterns": [
|
40
|
+
{
|
41
|
+
"include": "#conditions"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"endCaptures": {
|
47
|
+
"1": {
|
48
|
+
"name": "keyword.control.flow.endif.inputrc"
|
49
|
+
},
|
50
|
+
"2": {
|
51
|
+
"name": "punctuation.definition.directive.inputrc"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"match": "(?i)^\\s*((\\$)(else|endif))(?=\\s|$)",
|
57
|
+
"beginCaptures": {
|
58
|
+
"1": {
|
59
|
+
"name": "keyword.control.flow.$3.inputrc"
|
60
|
+
},
|
61
|
+
"2": {
|
62
|
+
"name": "punctuation.definition.directive.inputrc"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
"conditions": {
|
69
|
+
"patterns": [
|
70
|
+
{
|
71
|
+
"match": "(?i)(?:^|\\G)\\s*(mode)\\s*(==|=|!=)\\s*(?:(emacs|vi)(?=\\s|$))?",
|
72
|
+
"captures": {
|
73
|
+
"1": {
|
74
|
+
"name": "variable.parameter.condition.mode.inputrc"
|
75
|
+
},
|
76
|
+
"2": {
|
77
|
+
"name": "keyword.operator.comparison.inputrc"
|
78
|
+
},
|
79
|
+
"3": {
|
80
|
+
"name": "constant.language.editing-mode.inputrc"
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"match": "(?i)(?:^|\\G)\\s*(term)\\s*(==|=|!=)\\s*(\\S.*?)\\s*$",
|
86
|
+
"captures": {
|
87
|
+
"1": {
|
88
|
+
"name": "variable.parameter.condition.term.inputrc"
|
89
|
+
},
|
90
|
+
"2": {
|
91
|
+
"name": "keyword.operator.comparison.inputrc"
|
92
|
+
},
|
93
|
+
"3": {
|
94
|
+
"name": "constant.language.terminal-type.inputrc"
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"match": "(?i)(?:^|\\G)\\s*(version)\\s*(==|=|!=|\u003c=|\u003e=|\u003c|\u003e)\\s*(?:([-+]?[.\\d]+))?",
|
100
|
+
"captures": {
|
101
|
+
"1": {
|
102
|
+
"name": "variable.parameter.condition.version.inputrc"
|
103
|
+
},
|
104
|
+
"2": {
|
105
|
+
"name": "keyword.operator.comparison.inputrc"
|
106
|
+
},
|
107
|
+
"3": {
|
108
|
+
"patterns": [
|
109
|
+
{
|
110
|
+
"include": "etc#num"
|
111
|
+
}
|
112
|
+
]
|
113
|
+
}
|
114
|
+
}
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"match": "(?i)(?:^|\\G)\\s*([^\\s!=#]+)\\s*(==|=|!=)\\s*(?:(on|off)(?=\\s|$)|(\\S.*))?",
|
118
|
+
"captures": {
|
119
|
+
"1": {
|
120
|
+
"name": "variable.parameter.condition.named.inputrc"
|
121
|
+
},
|
122
|
+
"2": {
|
123
|
+
"name": "keyword.operator.comparison.inputrc"
|
124
|
+
},
|
125
|
+
"3": {
|
126
|
+
"name": "constant.logical.bool.boolean.${3:/downcase}.inputrc"
|
127
|
+
},
|
128
|
+
"4": {
|
129
|
+
"name": "string.unquoted.inputrc"
|
130
|
+
}
|
131
|
+
}
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"match": "(?i)(?:^|\\G)\\s*([^\\s!=#]+)\\s*$",
|
135
|
+
"captures": {
|
136
|
+
"1": {
|
137
|
+
"name": "variable.parameter.condition.application.inputrc"
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
]
|
142
|
+
},
|
143
|
+
"escapes": {
|
144
|
+
"patterns": [
|
145
|
+
{
|
146
|
+
"name": "constant.character.escape.alert.inputrc",
|
147
|
+
"match": "\\\\a"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"name": "constant.character.escape.backspace.inputrc",
|
151
|
+
"match": "\\\\b"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"name": "constant.character.escape.delete.inputrc",
|
155
|
+
"match": "\\\\d"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"name": "constant.character.escape.form-feed.inputrc",
|
159
|
+
"match": "\\\\f"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"name": "constant.character.escape.newline.inputrc",
|
163
|
+
"match": "\\\\n"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"name": "constant.character.escape.carriage-return.inputrc",
|
167
|
+
"match": "\\\\r"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"name": "constant.character.escape.horizontal-tab.inputrc",
|
171
|
+
"match": "\\\\t"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"name": "constant.character.escape.vertical-tab.inputrc",
|
175
|
+
"match": "\\\\v"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"name": "constant.character.escape.control-prefix.inputrc",
|
179
|
+
"match": "\\\\C"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"name": "constant.character.escape.meta-prefix.inputrc",
|
183
|
+
"match": "\\\\M"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"name": "constant.character.escape.literal.inputrc",
|
187
|
+
"match": "\\\\e"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"name": "constant.character.escape.backslash.inputrc",
|
191
|
+
"match": "\\{2}"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"name": "constant.character.escape.quote.double.inputrc",
|
195
|
+
"match": "\\\\\""
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"name": "constant.character.escape.quote.single.inputrc",
|
199
|
+
"match": "\\\\'"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"name": "constant.character.escape.codepoint.octal.inputrc",
|
203
|
+
"match": "\\\\[0-7]{1,3}"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"name": "constant.character.escape.codepoint.hex.inputrc",
|
207
|
+
"match": "\\\\x[a-fA-F0-9]{1,2}"
|
208
|
+
}
|
209
|
+
]
|
210
|
+
},
|
211
|
+
"include": {
|
212
|
+
"name": "meta.include.inputrc",
|
213
|
+
"contentName": "string.unquoted.file.path.inputrc",
|
214
|
+
"begin": "^\\s*((\\$)include)(?=\\s|$)",
|
215
|
+
"end": "$",
|
216
|
+
"patterns": [
|
217
|
+
{
|
218
|
+
"include": "#escapes"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"beginCaptures": {
|
222
|
+
"1": {
|
223
|
+
"name": "keyword.control.directive.include.inputrc"
|
224
|
+
},
|
225
|
+
"2": {
|
226
|
+
"name": "punctuation.definition.directive.inputrc"
|
227
|
+
}
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"keyBinding": {
|
231
|
+
"name": "meta.key-binding.inputrc",
|
232
|
+
"begin": "(?i)^\\s*(?!set(?:\\s|$)|\\$)(?=[^\\s#])",
|
233
|
+
"end": "$",
|
234
|
+
"patterns": [
|
235
|
+
{
|
236
|
+
"include": "#keyName"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"begin": ":[ \\t]*",
|
240
|
+
"end": "(?=$)",
|
241
|
+
"patterns": [
|
242
|
+
{
|
243
|
+
"name": "string.quoted.double.macro.inputrc",
|
244
|
+
"begin": "\\G\"",
|
245
|
+
"end": "\"|(?=$)",
|
246
|
+
"patterns": [
|
247
|
+
{
|
248
|
+
"include": "#escapes"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"beginCaptures": {
|
252
|
+
"0": {
|
253
|
+
"name": "punctuation.definition.string.begin.inputrc"
|
254
|
+
}
|
255
|
+
},
|
256
|
+
"endCaptures": {
|
257
|
+
"0": {
|
258
|
+
"name": "punctuation.definition.string.end.inputrc"
|
259
|
+
}
|
260
|
+
}
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"name": "string.quoted.single.macro.inputrc",
|
264
|
+
"begin": "\\G'",
|
265
|
+
"end": "'|(?=$)",
|
266
|
+
"patterns": [
|
267
|
+
{
|
268
|
+
"include": "#escapes"
|
269
|
+
}
|
270
|
+
],
|
271
|
+
"beginCaptures": {
|
272
|
+
"0": {
|
273
|
+
"name": "punctuation.definition.string.begin.inputrc"
|
274
|
+
}
|
275
|
+
},
|
276
|
+
"endCaptures": {
|
277
|
+
"0": {
|
278
|
+
"name": "punctuation.definition.string.end.inputrc"
|
279
|
+
}
|
280
|
+
}
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"name": "entity.name.function.inputrc",
|
284
|
+
"match": "\\G([-\\w]+)"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"name": "comment.line.ignored.inputrc",
|
288
|
+
"begin": "(?\u003c=['\"\\s])\\s*(?=\\S)",
|
289
|
+
"end": "$"
|
290
|
+
}
|
291
|
+
],
|
292
|
+
"beginCaptures": {
|
293
|
+
"0": {
|
294
|
+
"patterns": [
|
295
|
+
{
|
296
|
+
"include": "etc#kolon"
|
297
|
+
}
|
298
|
+
]
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}
|
302
|
+
]
|
303
|
+
},
|
304
|
+
"keyName": {
|
305
|
+
"patterns": [
|
306
|
+
{
|
307
|
+
"name": "meta.key-name.quoted.inputrc",
|
308
|
+
"begin": "\\G(\")",
|
309
|
+
"end": "(\")|(?=$)",
|
310
|
+
"patterns": [
|
311
|
+
{
|
312
|
+
"include": "#keyNameInnards"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"beginCaptures": {
|
316
|
+
"0": {
|
317
|
+
"name": "string.quoted.double.inputrc"
|
318
|
+
},
|
319
|
+
"1": {
|
320
|
+
"name": "punctuation.definition.string.begin.inputrc"
|
321
|
+
}
|
322
|
+
},
|
323
|
+
"endCaptures": {
|
324
|
+
"0": {
|
325
|
+
"name": "string.quoted.double.inputrc"
|
326
|
+
},
|
327
|
+
"1": {
|
328
|
+
"name": "punctuation.definition.string.end.inputrc"
|
329
|
+
}
|
330
|
+
}
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"name": "meta.key-name.quoted.inputrc",
|
334
|
+
"begin": "\\G(')",
|
335
|
+
"end": "(')|(?=$)",
|
336
|
+
"patterns": [
|
337
|
+
{
|
338
|
+
"include": "#keyNameInnards"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"beginCaptures": {
|
342
|
+
"0": {
|
343
|
+
"name": "string.quoted.single.inputrc"
|
344
|
+
},
|
345
|
+
"1": {
|
346
|
+
"name": "punctuation.definition.string.begin.inputrc"
|
347
|
+
}
|
348
|
+
},
|
349
|
+
"endCaptures": {
|
350
|
+
"0": {
|
351
|
+
"name": "string.quoted.single.inputrc"
|
352
|
+
},
|
353
|
+
"1": {
|
354
|
+
"name": "punctuation.definition.string.end.inputrc"
|
355
|
+
}
|
356
|
+
}
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"name": "meta.key-name.unquoted.inputrc",
|
360
|
+
"match": "\\G((?:[^\\\\:\\s]|\\\\.)+)",
|
361
|
+
"captures": {
|
362
|
+
"1": {
|
363
|
+
"patterns": [
|
364
|
+
{
|
365
|
+
"include": "#keyNameInnards"
|
366
|
+
}
|
367
|
+
]
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
]
|
372
|
+
},
|
373
|
+
"keyNameInnards": {
|
374
|
+
"patterns": [
|
375
|
+
{
|
376
|
+
"match": "(?i)(-)?\\b(CONTROL|DEL|ESCAPE|ESC|LFD|META|NEWLINE|RETURN|RET|RUBOUT|SPACE|SPC|TAB)\\b",
|
377
|
+
"captures": {
|
378
|
+
"1": {
|
379
|
+
"name": "punctuation.separator.dash.hyphen.inputrc"
|
380
|
+
},
|
381
|
+
"2": {
|
382
|
+
"name": "constant.character.key-name.symbolic.inputrc"
|
383
|
+
}
|
384
|
+
}
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"include": "#escapes"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"match": "(-)?(\\S)",
|
391
|
+
"captures": {
|
392
|
+
"1": {
|
393
|
+
"name": "punctuation.separator.dash.hyphen.inputrc"
|
394
|
+
},
|
395
|
+
"2": {
|
396
|
+
"name": "constant.character.key-name.literal.inputrc"
|
397
|
+
}
|
398
|
+
}
|
399
|
+
}
|
400
|
+
]
|
401
|
+
},
|
402
|
+
"main": {
|
403
|
+
"patterns": [
|
404
|
+
{
|
405
|
+
"include": "#comment"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"include": "#include"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"include": "#conditional"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"include": "#variable"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"include": "#keyBinding"
|
418
|
+
}
|
419
|
+
]
|
420
|
+
},
|
421
|
+
"variable": {
|
422
|
+
"begin": "(?i)^\\s*(set)(?=\\s|$)[ \\t]*",
|
423
|
+
"end": "$",
|
424
|
+
"patterns": [
|
425
|
+
{
|
426
|
+
"begin": "(?i)\\G(bell-style)(?=\\s|$)",
|
427
|
+
"end": "(?i)(visible|audible|none)(?=\\s|$)|(?=$|#|\\S)",
|
428
|
+
"beginCaptures": {
|
429
|
+
"1": {
|
430
|
+
"name": "variable.assignment.inputrc"
|
431
|
+
}
|
432
|
+
},
|
433
|
+
"endCaptures": {
|
434
|
+
"1": {
|
435
|
+
"name": "constant.language.bell-style.inputrc"
|
436
|
+
}
|
437
|
+
}
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"begin": "(?i)\\G(editing-mode)(?=\\s|$)",
|
441
|
+
"end": "(?i)(emacs|vi)(?=\\s|$)|(?=$|#|\\S)",
|
442
|
+
"beginCaptures": {
|
443
|
+
"1": {
|
444
|
+
"name": "variable.assignment.inputrc"
|
445
|
+
}
|
446
|
+
},
|
447
|
+
"endCaptures": {
|
448
|
+
"1": {
|
449
|
+
"name": "constant.language.editing-mode.inputrc"
|
450
|
+
}
|
451
|
+
}
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"contentName": "string.unquoted.inputc",
|
455
|
+
"begin": "(?i)\\G(comment-begin|emacs-mode-string|vi-(?:cmd|ins)-mode-string)(?=\\s|$)\\s*",
|
456
|
+
"end": "(?=$)",
|
457
|
+
"patterns": [
|
458
|
+
{
|
459
|
+
"include": "#escapes"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"beginCaptures": {
|
463
|
+
"1": {
|
464
|
+
"name": "variable.assignment.inputrc"
|
465
|
+
}
|
466
|
+
}
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"begin": "(?i)\\G([-a-z0-9]+)(?=\\s|$)",
|
470
|
+
"end": "(?i)(?:(on|off)(?=\\s|$)|([^#\\s]+))|(?=$|#)",
|
471
|
+
"beginCaptures": {
|
472
|
+
"1": {
|
473
|
+
"name": "variable.assignment.inputrc"
|
474
|
+
}
|
475
|
+
},
|
476
|
+
"endCaptures": {
|
477
|
+
"1": {
|
478
|
+
"name": "constant.logical.bool.boolean.${1:/downcase}.inputrc"
|
479
|
+
},
|
480
|
+
"2": {
|
481
|
+
"patterns": [
|
482
|
+
{
|
483
|
+
"include": "etc#num"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"include": "etc#bareword"
|
487
|
+
}
|
488
|
+
]
|
489
|
+
}
|
490
|
+
}
|
491
|
+
}
|
492
|
+
],
|
493
|
+
"beginCaptures": {
|
494
|
+
"1": {
|
495
|
+
"name": "keyword.operator.set.inputrc"
|
496
|
+
}
|
497
|
+
}
|
498
|
+
}
|
499
|
+
}
|
500
|
+
}
|