@codingame/monaco-languageclient-wrapper 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/main.js +1 -12
  2. package/package.json +3 -2
  3. package/stats.html +1 -1
  4. package/dist/BSV.tmLanguage.js +0 -299
  5. package/dist/COBOL Copybook.js +0 -2017
  6. package/dist/COBOL.js +0 -2017
  7. package/dist/COBOL.tmLanguage.js +0 -149
  8. package/dist/CodinGameMonacoWorkspace.d.ts +0 -13
  9. package/dist/Configuration.d.ts +0 -15
  10. package/dist/Erlang.plist.js +0 -1752
  11. package/dist/JSON.tmLanguage.js +0 -221
  12. package/dist/JSONC.tmLanguage.js +0 -221
  13. package/dist/JavaScript.tmLanguage.js +0 -5894
  14. package/dist/Kotlin.tmLanguage.js +0 -724
  15. package/dist/MagicPython.tmLanguage.js +0 -5340
  16. package/dist/MagicRegExp.tmLanguage.js +0 -505
  17. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  18. package/dist/SQL.plist.js +0 -482
  19. package/dist/Scala.tmLanguage.js +0 -1255
  20. package/dist/TypeScript.tmLanguage.js +0 -5641
  21. package/dist/WatchableConsoleWindow.d.ts +0 -22
  22. package/dist/_rollupPluginBabelHelpers.js +0 -54
  23. package/dist/asp-vb-net.tmlanguage.js +0 -247
  24. package/dist/bsv.js +0 -49
  25. package/dist/c.js +0 -18
  26. package/dist/c.tmLanguage.js +0 -3347
  27. package/dist/cabal.tmLanguage.js +0 -66
  28. package/dist/clojure.tmLanguage.js +0 -443
  29. package/dist/codeblock-cabal.js +0 -42
  30. package/dist/codeblock-haskell.js +0 -42
  31. package/dist/codeblock-literate-haskell.js +0 -42
  32. package/dist/codeblock.js +0 -36
  33. package/dist/codeblock2.js +0 -95
  34. package/dist/coffeescript.js +0 -18
  35. package/dist/coffeescript.tmLanguage.js +0 -1324
  36. package/dist/configuration/index.d.ts +0 -5
  37. package/dist/cpp.js +0 -18
  38. package/dist/cpp.tmLanguage.js +0 -19996
  39. package/dist/csharp.js +0 -18
  40. package/dist/csharp.tmLanguage.js +0 -4750
  41. package/dist/css.tmLanguage.js +0 -1873
  42. package/dist/css.worker.js +0 -6
  43. package/dist/cssContribution.js +0 -10
  44. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  45. package/dist/d.js +0 -3159
  46. package/dist/dart.js +0 -530
  47. package/dist/diet.js +0 -758
  48. package/dist/diet2.js +0 -92
  49. package/dist/dml.js +0 -169
  50. package/dist/eex.js +0 -55
  51. package/dist/elixir.js +0 -2341
  52. package/dist/elixir2.js +0 -184
  53. package/dist/erlang.js +0 -195
  54. package/dist/expression.js +0 -846
  55. package/dist/extensions/autofold.d.ts +0 -2
  56. package/dist/extensions/cobol.d.ts +0 -2
  57. package/dist/extensions/index.d.ts +0 -2
  58. package/dist/features/cssContribution.d.ts +0 -1
  59. package/dist/features/htmlContribution.d.ts +0 -1
  60. package/dist/features/jsonContribution.d.ts +0 -1
  61. package/dist/features/typescriptContribution.d.ts +0 -1
  62. package/dist/fsharp.js +0 -18
  63. package/dist/fsharp.tmLanguage.js +0 -1811
  64. package/dist/go.tmLanguage.js +0 -1025
  65. package/dist/groovy.js +0 -229
  66. package/dist/groovy.tmLanguage.js +0 -1391
  67. package/dist/haskell.tmLanguage.js +0 -629
  68. package/dist/html (eex).js +0 -31
  69. package/dist/html-derivative.tmLanguage.js +0 -57
  70. package/dist/html.tmLanguage.js +0 -2652
  71. package/dist/html.tmLanguage2.js +0 -97
  72. package/dist/html.worker.js +0 -6
  73. package/dist/htmlContribution.js +0 -10
  74. package/dist/inline-styles.js +0 -104
  75. package/dist/inline-template.js +0 -88
  76. package/dist/java.js +0 -18
  77. package/dist/java.tmLanguage.js +0 -1863
  78. package/dist/javascript.js +0 -196
  79. package/dist/javascriptreact.js +0 -196
  80. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  82. package/dist/json.worker.js +0 -6
  83. package/dist/jsonContribution.js +0 -78
  84. package/dist/keybindings/index.d.ts +0 -2
  85. package/dist/keybindings/keybindingHelper.d.ts +0 -2
  86. package/dist/keybindings/vim.d.ts +0 -3
  87. package/dist/kotlin.js +0 -117
  88. package/dist/kotlinscript.js +0 -117
  89. package/dist/languages/extensions/grammarLoader.d.ts +0 -91037
  90. package/dist/languages/extensions/snippetLoader.d.ts +0 -4578
  91. package/dist/languages/index.d.ts +0 -3
  92. package/dist/languages/monarch/index.d.ts +0 -7
  93. package/dist/languages/monarch/list.d.ts +0 -7
  94. package/dist/languages/monarch/stub-generator.d.ts +0 -2
  95. package/dist/languages/snippets/index.d.ts +0 -1
  96. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
  97. package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
  98. package/dist/languages/textMate/index.d.ts +0 -2
  99. package/dist/literateHaskell.tmLanguage.js +0 -70
  100. package/dist/lua.tmLanguage.js +0 -289
  101. package/dist/markdown.js +0 -103
  102. package/dist/markdown.tmLanguage.js +0 -2784
  103. package/dist/merlin.js +0 -111
  104. package/dist/monaco.d.ts +0 -8
  105. package/dist/objective-c.tmLanguage.js +0 -3618
  106. package/dist/ocaml-hover-info.js +0 -34
  107. package/dist/ocaml-hover-type.js +0 -24
  108. package/dist/ocaml-markdown-codeblock.js +0 -42
  109. package/dist/ocaml.js +0 -2979
  110. package/dist/ocamlbuild.js +0 -239
  111. package/dist/opam.js +0 -149
  112. package/dist/pascal.js +0 -382
  113. package/dist/pascal.tmLanguage.js +0 -169
  114. package/dist/perl.tmLanguage.js +0 -2986
  115. package/dist/perl6.tmLanguage.js +0 -323
  116. package/dist/pgsql.tmLanguage.js +0 -284
  117. package/dist/php.js +0 -265
  118. package/dist/php.tmLanguage.js +0 -3791
  119. package/dist/platform.tmLanguage.js +0 -1135
  120. package/dist/powershell.js +0 -18
  121. package/dist/powershell.tmLanguage.js +0 -1037
  122. package/dist/r.tmLanguage.js +0 -551
  123. package/dist/reason-hover-info.js +0 -34
  124. package/dist/reason-hover-signature.js +0 -21
  125. package/dist/reason-hover-type.js +0 -21
  126. package/dist/reason-markdown-codeblock.js +0 -42
  127. package/dist/reason.js +0 -100
  128. package/dist/ruby.tmLanguage.js +0 -2784
  129. package/dist/rust.tmLanguage.js +0 -1178
  130. package/dist/sassdoc.tmLanguage.js +0 -362
  131. package/dist/scss.tmLanguage.js +0 -1887
  132. package/dist/sdc.tmLanguage.js +0 -712
  133. package/dist/sdl.js +0 -162
  134. package/dist/services/EditorModelResolverService.d.ts +0 -8
  135. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -7
  136. package/dist/shell-unix-bash.tmLanguage.js +0 -1291
  137. package/dist/sql.js +0 -21
  138. package/dist/stub-generator.js +0 -15
  139. package/dist/swift.js +0 -183
  140. package/dist/swift.tmLanguage.js +0 -3288
  141. package/dist/systemverilog.js +0 -208
  142. package/dist/systemverilog.tmLanguage.js +0 -1067
  143. package/dist/tcl.js +0 -151
  144. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  145. package/dist/template.js +0 -207
  146. package/dist/theme/index.d.ts +0 -3
  147. package/dist/theme/registry.d.ts +0 -4
  148. package/dist/theme/semanticHighlight.d.ts +0 -1
  149. package/dist/theme/tools.d.ts +0 -13
  150. package/dist/tools.d.ts +0 -3
  151. package/dist/ts.worker.js +0 -6
  152. package/dist/typescript.js +0 -312
  153. package/dist/typescriptContribution.js +0 -36
  154. package/dist/typescriptreact.js +0 -312
  155. package/dist/ucf.tmLanguage.js +0 -36
  156. package/dist/vb.js +0 -88
  157. package/dist/verilog.js +0 -432
  158. package/dist/verilog.tmLanguage.js +0 -321
  159. package/dist/worker.d.ts +0 -6
  160. package/dist/worker.js +0 -54
  161. package/dist/xml.tmLanguage.js +0 -395
  162. package/dist/xsl.tmLanguage.js +0 -102
  163. package/dist/yaml.tmLanguage.js +0 -629
@@ -1,1291 +0,0 @@
1
- var information_for_contributors = [
2
- "This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/shellscript/",
3
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
- "Once accepted there, we are happy to receive an update request."
5
- ];
6
- var version = "https://github.com/atom/language-shellscript/commit/4c3711edbe8eac6f501976893976b1ac6a043d50";
7
- var name = "Shell Script";
8
- var scopeName = "source.shell";
9
- var patterns = [
10
- {
11
- include: "#comment"
12
- },
13
- {
14
- include: "#pipeline"
15
- },
16
- {
17
- include: "#list"
18
- },
19
- {
20
- include: "#compound-command"
21
- },
22
- {
23
- include: "#loop"
24
- },
25
- {
26
- include: "#string"
27
- },
28
- {
29
- include: "#function-definition"
30
- },
31
- {
32
- include: "#variable"
33
- },
34
- {
35
- include: "#interpolation"
36
- },
37
- {
38
- include: "#heredoc"
39
- },
40
- {
41
- include: "#herestring"
42
- },
43
- {
44
- include: "#redirection"
45
- },
46
- {
47
- include: "#pathname"
48
- },
49
- {
50
- include: "#keyword"
51
- },
52
- {
53
- include: "#support"
54
- }
55
- ];
56
- var repository = {
57
- "case-clause": {
58
- patterns: [
59
- {
60
- begin: "(?=\\S)",
61
- end: ";;",
62
- endCaptures: {
63
- "0": {
64
- name: "punctuation.terminator.case-clause.shell"
65
- }
66
- },
67
- name: "meta.scope.case-clause.shell",
68
- patterns: [
69
- {
70
- begin: "\\(|(?=\\S)",
71
- beginCaptures: {
72
- "0": {
73
- name: "punctuation.definition.case-pattern.shell"
74
- }
75
- },
76
- end: "\\)",
77
- endCaptures: {
78
- "0": {
79
- name: "punctuation.definition.case-pattern.shell"
80
- }
81
- },
82
- name: "meta.scope.case-pattern.shell",
83
- patterns: [
84
- {
85
- match: "\\|",
86
- name: "punctuation.separator.pipe-sign.shell"
87
- },
88
- {
89
- include: "#string"
90
- },
91
- {
92
- include: "#variable"
93
- },
94
- {
95
- include: "#interpolation"
96
- },
97
- {
98
- include: "#pathname"
99
- }
100
- ]
101
- },
102
- {
103
- begin: "(?<=\\))",
104
- end: "(?=;;)",
105
- name: "meta.scope.case-clause-body.shell",
106
- patterns: [
107
- {
108
- include: "$self"
109
- }
110
- ]
111
- }
112
- ]
113
- }
114
- ]
115
- },
116
- comment: {
117
- begin: "(^\\s+)?(?<=^|\\W)(?<!-)(?=#)(?!#{)",
118
- beginCaptures: {
119
- "1": {
120
- name: "punctuation.whitespace.comment.leading.shell"
121
- }
122
- },
123
- end: "(?!\\G)",
124
- patterns: [
125
- {
126
- begin: "#!",
127
- beginCaptures: {
128
- "0": {
129
- name: "punctuation.definition.comment.shebang.shell"
130
- }
131
- },
132
- end: "$",
133
- name: "comment.line.number-sign.shebang.shell"
134
- },
135
- {
136
- begin: "#",
137
- beginCaptures: {
138
- "0": {
139
- name: "punctuation.definition.comment.shell"
140
- }
141
- },
142
- end: "$",
143
- name: "comment.line.number-sign.shell"
144
- }
145
- ]
146
- },
147
- "compound-command": {
148
- patterns: [
149
- {
150
- begin: "\\[{1,2}",
151
- beginCaptures: {
152
- "0": {
153
- name: "punctuation.definition.logical-expression.shell"
154
- }
155
- },
156
- end: "\\]{1,2}",
157
- endCaptures: {
158
- "0": {
159
- name: "punctuation.definition.logical-expression.shell"
160
- }
161
- },
162
- name: "meta.scope.logical-expression.shell",
163
- patterns: [
164
- {
165
- include: "#logical-expression"
166
- },
167
- {
168
- include: "$self"
169
- }
170
- ]
171
- },
172
- {
173
- begin: "\\({2}",
174
- beginCaptures: {
175
- "0": {
176
- name: "punctuation.definition.string.begin.shell"
177
- }
178
- },
179
- end: "\\){2}",
180
- endCaptures: {
181
- "0": {
182
- name: "punctuation.definition.string.end.shell"
183
- }
184
- },
185
- name: "string.other.math.shell",
186
- patterns: [
187
- {
188
- include: "#math"
189
- }
190
- ]
191
- },
192
- {
193
- begin: "\\(",
194
- beginCaptures: {
195
- "0": {
196
- name: "punctuation.definition.subshell.shell"
197
- }
198
- },
199
- end: "\\)",
200
- endCaptures: {
201
- "0": {
202
- name: "punctuation.definition.subshell.shell"
203
- }
204
- },
205
- name: "meta.scope.subshell.shell",
206
- patterns: [
207
- {
208
- include: "$self"
209
- }
210
- ]
211
- },
212
- {
213
- begin: "(?<=\\s|^){(?=\\s|$)",
214
- beginCaptures: {
215
- "0": {
216
- name: "punctuation.definition.group.shell"
217
- }
218
- },
219
- end: "(?<=^|;)\\s*(})",
220
- endCaptures: {
221
- "1": {
222
- name: "punctuation.definition.group.shell"
223
- }
224
- },
225
- name: "meta.scope.group.shell",
226
- patterns: [
227
- {
228
- include: "$self"
229
- }
230
- ]
231
- }
232
- ]
233
- },
234
- "function-definition": {
235
- patterns: [
236
- {
237
- begin: "(?<=^|;|&|\\s)(function)\\s+([^\\s\\\\]+)(?:\\s*(\\(\\)))?",
238
- beginCaptures: {
239
- "1": {
240
- name: "storage.type.function.shell"
241
- },
242
- "2": {
243
- name: "entity.name.function.shell"
244
- },
245
- "3": {
246
- name: "punctuation.definition.arguments.shell"
247
- }
248
- },
249
- end: ";|&|$",
250
- endCaptures: {
251
- "0": {
252
- name: "punctuation.definition.function.shell"
253
- }
254
- },
255
- name: "meta.function.shell",
256
- patterns: [
257
- {
258
- include: "$self"
259
- }
260
- ]
261
- },
262
- {
263
- begin: "(?<=^|;|&|\\s)([^\\s\\\\=]+)\\s*(\\(\\))",
264
- beginCaptures: {
265
- "1": {
266
- name: "entity.name.function.shell"
267
- },
268
- "2": {
269
- name: "punctuation.definition.arguments.shell"
270
- }
271
- },
272
- end: ";|&|$",
273
- endCaptures: {
274
- "0": {
275
- name: "punctuation.definition.function.shell"
276
- }
277
- },
278
- name: "meta.function.shell",
279
- patterns: [
280
- {
281
- include: "$self"
282
- }
283
- ]
284
- }
285
- ]
286
- },
287
- heredoc: {
288
- patterns: [
289
- {
290
- begin: "(<<)-\\s*(\"|'|)\\s*(RUBY)(?=\\s|;|&|<|\"|')\\2",
291
- beginCaptures: {
292
- "1": {
293
- name: "keyword.operator.heredoc.shell"
294
- },
295
- "3": {
296
- name: "keyword.control.heredoc-token.shell"
297
- }
298
- },
299
- end: "^\\t*(RUBY)(?=\\s|;|&|$)",
300
- endCaptures: {
301
- "1": {
302
- name: "keyword.control.heredoc-token.shell"
303
- }
304
- },
305
- name: "string.unquoted.heredoc.no-indent.ruby.shell",
306
- contentName: "source.ruby.embedded.shell",
307
- patterns: [
308
- {
309
- include: "source.ruby"
310
- }
311
- ]
312
- },
313
- {
314
- begin: "(<<)\\s*(\"|'|)\\s*(RUBY)(?=\\s|;|&|<|\"|')\\2",
315
- beginCaptures: {
316
- "1": {
317
- name: "keyword.operator.heredoc.shell"
318
- },
319
- "3": {
320
- name: "keyword.control.heredoc-token.shell"
321
- }
322
- },
323
- end: "^(RUBY)(?=\\s|;|&|$)",
324
- endCaptures: {
325
- "1": {
326
- name: "keyword.control.heredoc-token.shell"
327
- }
328
- },
329
- name: "string.unquoted.heredoc.ruby.shell",
330
- contentName: "source.ruby.embedded.shell",
331
- patterns: [
332
- {
333
- include: "source.ruby"
334
- }
335
- ]
336
- },
337
- {
338
- begin: "(<<)-\\s*(\"|'|)\\s*(PYTHON)(?=\\s|;|&|<|\"|')\\2",
339
- beginCaptures: {
340
- "1": {
341
- name: "keyword.operator.heredoc.shell"
342
- },
343
- "3": {
344
- name: "keyword.control.heredoc-token.shell"
345
- }
346
- },
347
- end: "^\\t*(PYTHON)(?=\\s|;|&|$)",
348
- endCaptures: {
349
- "1": {
350
- name: "keyword.control.heredoc-token.shell"
351
- }
352
- },
353
- name: "string.unquoted.heredoc.no-indent.python.shell",
354
- contentName: "source.python.embedded.shell",
355
- patterns: [
356
- {
357
- include: "source.python"
358
- }
359
- ]
360
- },
361
- {
362
- begin: "(<<)\\s*(\"|'|)\\s*(PYTHON)(?=\\s|;|&|<|\"|')\\2",
363
- beginCaptures: {
364
- "1": {
365
- name: "keyword.operator.heredoc.shell"
366
- },
367
- "3": {
368
- name: "keyword.control.heredoc-token.shell"
369
- }
370
- },
371
- end: "^(PYTHON)(?=\\s|;|&|$)",
372
- endCaptures: {
373
- "1": {
374
- name: "keyword.control.heredoc-token.shell"
375
- }
376
- },
377
- name: "string.unquoted.heredoc.python.shell",
378
- contentName: "source.python.embedded.shell",
379
- patterns: [
380
- {
381
- include: "source.python"
382
- }
383
- ]
384
- },
385
- {
386
- begin: "(<<)-\\s*(\"|'|)\\s*(APPLESCRIPT)(?=\\s|;|&|<|\"|')\\2",
387
- beginCaptures: {
388
- "1": {
389
- name: "keyword.operator.heredoc.shell"
390
- },
391
- "3": {
392
- name: "keyword.control.heredoc-token.shell"
393
- }
394
- },
395
- end: "^\\t*(APPLESCRIPT)(?=\\s|;|&|$)",
396
- endCaptures: {
397
- "1": {
398
- name: "keyword.control.heredoc-token.shell"
399
- }
400
- },
401
- name: "string.unquoted.heredoc.no-indent.applescript.shell",
402
- contentName: "source.applescript.embedded.shell",
403
- patterns: [
404
- {
405
- include: "source.applescript"
406
- }
407
- ]
408
- },
409
- {
410
- begin: "(<<)\\s*(\"|'|)\\s*(APPLESCRIPT)(?=\\s|;|&|<|\"|')\\2",
411
- beginCaptures: {
412
- "1": {
413
- name: "keyword.operator.heredoc.shell"
414
- },
415
- "3": {
416
- name: "keyword.control.heredoc-token.shell"
417
- }
418
- },
419
- end: "^(APPLESCRIPT)(?=\\s|;|&|$)",
420
- endCaptures: {
421
- "1": {
422
- name: "keyword.control.heredoc-token.shell"
423
- }
424
- },
425
- name: "string.unquoted.heredoc.applescript.shell",
426
- contentName: "source.applescript.embedded.shell",
427
- patterns: [
428
- {
429
- include: "source.applescript"
430
- }
431
- ]
432
- },
433
- {
434
- begin: "(<<)-\\s*(\"|'|)\\s*(HTML)(?=\\s|;|&|<|\"|')\\2",
435
- beginCaptures: {
436
- "1": {
437
- name: "keyword.operator.heredoc.shell"
438
- },
439
- "3": {
440
- name: "keyword.control.heredoc-token.shell"
441
- }
442
- },
443
- end: "^\\t*(HTML)(?=\\s|;|&|$)",
444
- endCaptures: {
445
- "1": {
446
- name: "keyword.control.heredoc-token.shell"
447
- }
448
- },
449
- name: "string.unquoted.heredoc.no-indent.html.shell",
450
- contentName: "text.html.embedded.shell",
451
- patterns: [
452
- {
453
- include: "text.html.basic"
454
- }
455
- ]
456
- },
457
- {
458
- begin: "(<<)\\s*(\"|'|)\\s*(HTML)(?=\\s|;|&|<|\"|')\\2",
459
- beginCaptures: {
460
- "1": {
461
- name: "keyword.operator.heredoc.shell"
462
- },
463
- "3": {
464
- name: "keyword.control.heredoc-token.shell"
465
- }
466
- },
467
- end: "^(HTML)(?=\\s|;|&|$)",
468
- endCaptures: {
469
- "1": {
470
- name: "keyword.control.heredoc-token.shell"
471
- }
472
- },
473
- name: "string.unquoted.heredoc.html.shell",
474
- contentName: "text.html.embedded.shell",
475
- patterns: [
476
- {
477
- include: "text.html.basic"
478
- }
479
- ]
480
- },
481
- {
482
- begin: "(<<)-\\s*(\"|'|)\\s*(MARKDOWN)(?=\\s|;|&|<|\"|')\\2",
483
- beginCaptures: {
484
- "1": {
485
- name: "keyword.operator.heredoc.shell"
486
- },
487
- "3": {
488
- name: "keyword.control.heredoc-token.shell"
489
- }
490
- },
491
- end: "^\\t*(MARKDOWN)(?=\\s|;|&|$)",
492
- endCaptures: {
493
- "1": {
494
- name: "keyword.control.heredoc-token.shell"
495
- }
496
- },
497
- name: "string.unquoted.heredoc.no-indent.markdown.shell",
498
- contentName: "text.html.markdown.embedded.shell",
499
- patterns: [
500
- {
501
- include: "text.html.markdown"
502
- }
503
- ]
504
- },
505
- {
506
- begin: "(<<)\\s*(\"|'|)\\s*(MARKDOWN)(?=\\s|;|&|<|\"|')\\2",
507
- beginCaptures: {
508
- "1": {
509
- name: "keyword.operator.heredoc.shell"
510
- },
511
- "3": {
512
- name: "keyword.control.heredoc-token.shell"
513
- }
514
- },
515
- end: "^(MARKDOWN)(?=\\s|;|&|$)",
516
- endCaptures: {
517
- "1": {
518
- name: "keyword.control.heredoc-token.shell"
519
- }
520
- },
521
- name: "string.unquoted.heredoc.markdown.shell",
522
- contentName: "text.html.markdown.embedded.shell",
523
- patterns: [
524
- {
525
- include: "text.html.markdown"
526
- }
527
- ]
528
- },
529
- {
530
- begin: "(<<)-\\s*(\"|'|)\\s*(TEXTILE)(?=\\s|;|&|<|\"|')\\2",
531
- beginCaptures: {
532
- "1": {
533
- name: "keyword.operator.heredoc.shell"
534
- },
535
- "3": {
536
- name: "keyword.control.heredoc-token.shell"
537
- }
538
- },
539
- end: "^\\t*(TEXTILE)(?=\\s|;|&|$)",
540
- endCaptures: {
541
- "1": {
542
- name: "keyword.control.heredoc-token.shell"
543
- }
544
- },
545
- name: "string.unquoted.heredoc.no-indent.textile.shell",
546
- contentName: "text.html.textile.embedded.shell",
547
- patterns: [
548
- {
549
- include: "text.html.textile"
550
- }
551
- ]
552
- },
553
- {
554
- begin: "(<<)\\s*(\"|'|)\\s*(TEXTILE)(?=\\s|;|&|<|\"|')\\2",
555
- beginCaptures: {
556
- "1": {
557
- name: "keyword.operator.heredoc.shell"
558
- },
559
- "3": {
560
- name: "keyword.control.heredoc-token.shell"
561
- }
562
- },
563
- end: "^(TEXTILE)(?=\\s|;|&|$)",
564
- endCaptures: {
565
- "1": {
566
- name: "keyword.control.heredoc-token.shell"
567
- }
568
- },
569
- name: "string.unquoted.heredoc.textile.shell",
570
- contentName: "text.html.textile.embedded.shell",
571
- patterns: [
572
- {
573
- include: "text.html.textile"
574
- }
575
- ]
576
- },
577
- {
578
- begin: "(<<)-\\s*(\"|'|)\\s*(SHELL)(?=\\s|;|&|<|\"|')\\2",
579
- beginCaptures: {
580
- "1": {
581
- name: "keyword.operator.heredoc.shell"
582
- },
583
- "3": {
584
- name: "keyword.control.heredoc-token.shell"
585
- }
586
- },
587
- end: "^\\t*(\\3)(?=\\s|;|&|$)",
588
- endCaptures: {
589
- "1": {
590
- name: "keyword.control.heredoc-token.shell"
591
- }
592
- },
593
- contentName: "source.shell.embedded.shell",
594
- name: "string.unquoted.heredoc.no-indent.shell.shell",
595
- patterns: [
596
- {
597
- include: "source.shell"
598
- }
599
- ]
600
- },
601
- {
602
- begin: "(<<)\\s*(\"|'|)\\s*(SHELL)(?=\\s|;|&|<|\"|')\\2",
603
- beginCaptures: {
604
- "1": {
605
- name: "keyword.operator.heredoc.shell"
606
- },
607
- "3": {
608
- name: "keyword.control.heredoc-token.shell"
609
- }
610
- },
611
- end: "^(\\3)(?=\\s|;|&|$)",
612
- endCaptures: {
613
- "1": {
614
- name: "keyword.control.heredoc-token.shell"
615
- }
616
- },
617
- name: "string.unquoted.heredoc.shell.shell",
618
- contentName: "source.shell.embedded.shell",
619
- patterns: [
620
- {
621
- include: "source.shell"
622
- }
623
- ]
624
- },
625
- {
626
- begin: "(<<)-\\s*(\"|'|)\\s*\\\\?([^;&<\\s]+)\\2",
627
- beginCaptures: {
628
- "1": {
629
- name: "keyword.operator.heredoc.shell"
630
- },
631
- "3": {
632
- name: "keyword.control.heredoc-token.shell"
633
- }
634
- },
635
- end: "^\\t*(\\3)(?=\\s|;|&|$)",
636
- endCaptures: {
637
- "1": {
638
- name: "keyword.control.heredoc-token.shell"
639
- }
640
- },
641
- name: "string.unquoted.heredoc.no-indent.shell"
642
- },
643
- {
644
- begin: "(<<)\\s*(\"|'|)\\s*\\\\?([^;&<\\s]+)\\2",
645
- beginCaptures: {
646
- "1": {
647
- name: "keyword.operator.heredoc.shell"
648
- },
649
- "3": {
650
- name: "keyword.control.heredoc-token.shell"
651
- }
652
- },
653
- end: "^(\\3)(?=\\s|;|&|$)",
654
- endCaptures: {
655
- "1": {
656
- name: "keyword.control.heredoc-token.shell"
657
- }
658
- },
659
- name: "string.unquoted.heredoc.shell"
660
- }
661
- ]
662
- },
663
- herestring: {
664
- patterns: [
665
- {
666
- begin: "(<<<)\\s*(('))",
667
- beginCaptures: {
668
- "1": {
669
- name: "keyword.operator.herestring.shell"
670
- },
671
- "2": {
672
- name: "string.quoted.single.shell"
673
- },
674
- "3": {
675
- name: "punctuation.definition.string.begin.shell"
676
- }
677
- },
678
- end: "(')",
679
- endCaptures: {
680
- "0": {
681
- name: "string.quoted.single.shell"
682
- },
683
- "1": {
684
- name: "punctuation.definition.string.end.shell"
685
- }
686
- },
687
- name: "meta.herestring.shell",
688
- contentName: "string.quoted.single.shell"
689
- },
690
- {
691
- begin: "(<<<)\\s*((\"))",
692
- beginCaptures: {
693
- "1": {
694
- name: "keyword.operator.herestring.shell"
695
- },
696
- "2": {
697
- name: "string.quoted.double.shell"
698
- },
699
- "3": {
700
- name: "punctuation.definition.string.begin.shell"
701
- }
702
- },
703
- end: "(\")",
704
- endCaptures: {
705
- "0": {
706
- name: "string.quoted.double.shell"
707
- },
708
- "1": {
709
- name: "punctuation.definition.string.end.shell"
710
- }
711
- },
712
- name: "meta.herestring.shell",
713
- contentName: "string.quoted.double.shell"
714
- },
715
- {
716
- captures: {
717
- "1": {
718
- name: "keyword.operator.herestring.shell"
719
- },
720
- "2": {
721
- name: "string.unquoted.herestring.shell",
722
- patterns: [
723
- {
724
- include: "$self"
725
- }
726
- ]
727
- }
728
- },
729
- match: "(<<<)\\s*(([^\\s)\\\\]|\\\\.)+)",
730
- name: "meta.herestring.shell"
731
- }
732
- ]
733
- },
734
- interpolation: {
735
- patterns: [
736
- {
737
- begin: "\\$\\({2}",
738
- beginCaptures: {
739
- "0": {
740
- name: "punctuation.definition.string.begin.shell"
741
- }
742
- },
743
- end: "\\){2}",
744
- endCaptures: {
745
- "0": {
746
- name: "punctuation.definition.string.end.shell"
747
- }
748
- },
749
- name: "string.other.math.shell",
750
- patterns: [
751
- {
752
- include: "#math"
753
- }
754
- ]
755
- },
756
- {
757
- begin: "`",
758
- beginCaptures: {
759
- "0": {
760
- name: "punctuation.definition.string.begin.shell"
761
- }
762
- },
763
- end: "`",
764
- endCaptures: {
765
- "0": {
766
- name: "punctuation.definition.string.end.shell"
767
- }
768
- },
769
- name: "string.interpolated.backtick.shell",
770
- patterns: [
771
- {
772
- match: "\\\\[`\\\\$]",
773
- name: "constant.character.escape.shell"
774
- },
775
- {
776
- begin: "(?<=\\W)(?=#)(?!#{)",
777
- beginCaptures: {
778
- "1": {
779
- name: "punctuation.whitespace.comment.leading.shell"
780
- }
781
- },
782
- end: "(?!\\G)",
783
- patterns: [
784
- {
785
- begin: "#",
786
- beginCaptures: {
787
- "0": {
788
- name: "punctuation.definition.comment.shell"
789
- }
790
- },
791
- end: "(?=`)",
792
- name: "comment.line.number-sign.shell"
793
- }
794
- ]
795
- },
796
- {
797
- include: "$self"
798
- }
799
- ]
800
- },
801
- {
802
- begin: "\\$\\(",
803
- beginCaptures: {
804
- "0": {
805
- name: "punctuation.definition.string.begin.shell"
806
- }
807
- },
808
- end: "\\)",
809
- endCaptures: {
810
- "0": {
811
- name: "punctuation.definition.string.end.shell"
812
- }
813
- },
814
- name: "string.interpolated.dollar.shell",
815
- patterns: [
816
- {
817
- include: "$self"
818
- }
819
- ]
820
- }
821
- ]
822
- },
823
- keyword: {
824
- patterns: [
825
- {
826
- match: "(?<=^|;|&|\\s)(then|else|elif|fi|for|in|do|done|select|case|continue|esac|while|until|return)(?=\\s|;|&|$)",
827
- name: "keyword.control.shell"
828
- },
829
- {
830
- match: "(?<=^|;|&|\\s)(?:export|declare|typeset|local|readonly)(?=\\s|;|&|$)",
831
- name: "storage.modifier.shell"
832
- }
833
- ]
834
- },
835
- list: {
836
- patterns: [
837
- {
838
- match: ";|&&|&|\\|\\|",
839
- name: "keyword.operator.list.shell"
840
- }
841
- ]
842
- },
843
- "logical-expression": {
844
- patterns: [
845
- {
846
- comment: "do we want a special rule for ( expr )?",
847
- match: "=[=~]?|!=?|<|>|&&|\\|\\|",
848
- name: "keyword.operator.logical.shell"
849
- },
850
- {
851
- match: "(?<!\\S)-(nt|ot|ef|eq|ne|l[te]|g[te]|[a-hknoprstuwxzOGLSN])",
852
- name: "keyword.operator.logical.shell"
853
- }
854
- ]
855
- },
856
- loop: {
857
- patterns: [
858
- {
859
- begin: "(?<=^|;|&|\\s)(for)\\s+(?=\\({2})",
860
- beginCaptures: {
861
- "1": {
862
- name: "keyword.control.shell"
863
- }
864
- },
865
- end: "(?<=^|;|&|\\s)done(?=\\s|;|&|$)",
866
- endCaptures: {
867
- "0": {
868
- name: "keyword.control.shell"
869
- }
870
- },
871
- name: "meta.scope.for-loop.shell",
872
- patterns: [
873
- {
874
- include: "$self"
875
- }
876
- ]
877
- },
878
- {
879
- begin: "(?<=^|;|&|\\s)(for)\\s+(.+?)\\s+(in)(?=\\s|;|&|$)",
880
- beginCaptures: {
881
- "1": {
882
- name: "keyword.control.shell"
883
- },
884
- "2": {
885
- name: "variable.other.loop.shell",
886
- patterns: [
887
- {
888
- include: "#string"
889
- }
890
- ]
891
- },
892
- "3": {
893
- name: "keyword.control.shell"
894
- }
895
- },
896
- end: "(?<=^|;|&|\\s)done(?=\\s|;|&|$)",
897
- endCaptures: {
898
- "0": {
899
- name: "keyword.control.shell"
900
- }
901
- },
902
- name: "meta.scope.for-in-loop.shell",
903
- patterns: [
904
- {
905
- include: "$self"
906
- }
907
- ]
908
- },
909
- {
910
- begin: "(?<=^|;|&|\\s)(while|until)(?=\\s|;|&|$)",
911
- beginCaptures: {
912
- "1": {
913
- name: "keyword.control.shell"
914
- }
915
- },
916
- end: "(?<=^|;|&|\\s)done(?=\\s|;|&|$)",
917
- endCaptures: {
918
- "0": {
919
- name: "keyword.control.shell"
920
- }
921
- },
922
- name: "meta.scope.while-loop.shell",
923
- patterns: [
924
- {
925
- include: "$self"
926
- }
927
- ]
928
- },
929
- {
930
- begin: "(?<=^|;|&|\\s)(select)\\s+((?:[^\\s\\\\]|\\\\.)+)(?=\\s|;|&|$)",
931
- beginCaptures: {
932
- "1": {
933
- name: "keyword.control.shell"
934
- },
935
- "2": {
936
- name: "variable.other.loop.shell"
937
- }
938
- },
939
- end: "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$)",
940
- endCaptures: {
941
- "1": {
942
- name: "keyword.control.shell"
943
- }
944
- },
945
- name: "meta.scope.select-block.shell",
946
- patterns: [
947
- {
948
- include: "$self"
949
- }
950
- ]
951
- },
952
- {
953
- begin: "(?<=^|;|&|\\s)case(?=\\s|;|&|$)",
954
- beginCaptures: {
955
- "0": {
956
- name: "keyword.control.shell"
957
- }
958
- },
959
- end: "(?<=^|;|&|\\s)esac(?=\\s|;|&|$)",
960
- endCaptures: {
961
- "0": {
962
- name: "keyword.control.shell"
963
- }
964
- },
965
- name: "meta.scope.case-block.shell",
966
- patterns: [
967
- {
968
- begin: "(?<=^|;|&|\\s)in(?=\\s|;|&|$)",
969
- beginCaptures: {
970
- "0": {
971
- name: "keyword.control.shell"
972
- }
973
- },
974
- end: "(?<=^|;|&|\\s)(?=esac(\\s|;|&|$))",
975
- name: "meta.scope.case-body.shell",
976
- patterns: [
977
- {
978
- include: "#comment"
979
- },
980
- {
981
- include: "#case-clause"
982
- },
983
- {
984
- include: "$self"
985
- }
986
- ]
987
- },
988
- {
989
- include: "$self"
990
- }
991
- ]
992
- },
993
- {
994
- begin: "(?<=^|;|&|\\s)if(?=\\s|;|&|$)",
995
- beginCaptures: {
996
- "0": {
997
- name: "keyword.control.shell"
998
- }
999
- },
1000
- end: "(?<=^|;|&|\\s)fi(?=\\s|;|&|$)",
1001
- endCaptures: {
1002
- "0": {
1003
- name: "keyword.control.shell"
1004
- }
1005
- },
1006
- name: "meta.scope.if-block.shell",
1007
- patterns: [
1008
- {
1009
- include: "$self"
1010
- }
1011
- ]
1012
- }
1013
- ]
1014
- },
1015
- math: {
1016
- patterns: [
1017
- {
1018
- include: "#variable"
1019
- },
1020
- {
1021
- match: "\\+{1,2}|-{1,2}|!|~|\\*{1,2}|/|%|<[<=]?|>[>=]?|==|!=|^|\\|{1,2}|&{1,2}|\\?|\\:|,|=|[*/%+\\-&^|]=|<<=|>>=",
1022
- name: "keyword.operator.arithmetic.shell"
1023
- },
1024
- {
1025
- match: "0[xX][0-9A-Fa-f]+",
1026
- name: "constant.numeric.hex.shell"
1027
- },
1028
- {
1029
- match: "0\\d+",
1030
- name: "constant.numeric.octal.shell"
1031
- },
1032
- {
1033
- match: "\\d{1,2}#[0-9a-zA-Z@_]+",
1034
- name: "constant.numeric.other.shell"
1035
- },
1036
- {
1037
- match: "\\d+",
1038
- name: "constant.numeric.integer.shell"
1039
- }
1040
- ]
1041
- },
1042
- pathname: {
1043
- patterns: [
1044
- {
1045
- match: "(?<=\\s|:|=|^)~",
1046
- name: "keyword.operator.tilde.shell"
1047
- },
1048
- {
1049
- match: "\\*|\\?",
1050
- name: "keyword.operator.glob.shell"
1051
- },
1052
- {
1053
- begin: "([?*+@!])(\\()",
1054
- beginCaptures: {
1055
- "1": {
1056
- name: "keyword.operator.extglob.shell"
1057
- },
1058
- "2": {
1059
- name: "punctuation.definition.extglob.shell"
1060
- }
1061
- },
1062
- end: "\\)",
1063
- endCaptures: {
1064
- "0": {
1065
- name: "punctuation.definition.extglob.shell"
1066
- }
1067
- },
1068
- name: "meta.structure.extglob.shell",
1069
- patterns: [
1070
- {
1071
- include: "$self"
1072
- }
1073
- ]
1074
- }
1075
- ]
1076
- },
1077
- pipeline: {
1078
- patterns: [
1079
- {
1080
- match: "(?<=^|;|&|\\s)(time)(?=\\s|;|&|$)",
1081
- name: "keyword.other.shell"
1082
- },
1083
- {
1084
- match: "[|!]",
1085
- name: "keyword.operator.pipe.shell"
1086
- }
1087
- ]
1088
- },
1089
- redirection: {
1090
- patterns: [
1091
- {
1092
- begin: "[><]\\(",
1093
- beginCaptures: {
1094
- "0": {
1095
- name: "punctuation.definition.string.begin.shell"
1096
- }
1097
- },
1098
- end: "\\)",
1099
- endCaptures: {
1100
- "0": {
1101
- name: "punctuation.definition.string.end.shell"
1102
- }
1103
- },
1104
- name: "string.interpolated.process-substitution.shell",
1105
- patterns: [
1106
- {
1107
- include: "$self"
1108
- }
1109
- ]
1110
- },
1111
- {
1112
- match: "(?<![<>])(&>|\\d*>&\\d*|\\d*(>>|>|<)|\\d*<&|\\d*<>)(?![<>])",
1113
- name: "keyword.operator.redirect.shell"
1114
- }
1115
- ]
1116
- },
1117
- string: {
1118
- patterns: [
1119
- {
1120
- match: "\\\\.",
1121
- name: "constant.character.escape.shell"
1122
- },
1123
- {
1124
- begin: "'",
1125
- beginCaptures: {
1126
- "0": {
1127
- name: "punctuation.definition.string.begin.shell"
1128
- }
1129
- },
1130
- end: "'",
1131
- endCaptures: {
1132
- "0": {
1133
- name: "punctuation.definition.string.end.shell"
1134
- }
1135
- },
1136
- name: "string.quoted.single.shell"
1137
- },
1138
- {
1139
- begin: "\\$?\"",
1140
- beginCaptures: {
1141
- "0": {
1142
- name: "punctuation.definition.string.begin.shell"
1143
- }
1144
- },
1145
- end: "\"",
1146
- endCaptures: {
1147
- "0": {
1148
- name: "punctuation.definition.string.end.shell"
1149
- }
1150
- },
1151
- name: "string.quoted.double.shell",
1152
- patterns: [
1153
- {
1154
- match: "\\\\[\\$`\"\\\\\\n]",
1155
- name: "constant.character.escape.shell"
1156
- },
1157
- {
1158
- include: "#variable"
1159
- },
1160
- {
1161
- include: "#interpolation"
1162
- }
1163
- ]
1164
- },
1165
- {
1166
- begin: "\\$'",
1167
- beginCaptures: {
1168
- "0": {
1169
- name: "punctuation.definition.string.begin.shell"
1170
- }
1171
- },
1172
- end: "'",
1173
- endCaptures: {
1174
- "0": {
1175
- name: "punctuation.definition.string.end.shell"
1176
- }
1177
- },
1178
- name: "string.quoted.single.dollar.shell",
1179
- patterns: [
1180
- {
1181
- match: "\\\\(a|b|e|f|n|r|t|v|\\\\|')",
1182
- name: "constant.character.escape.ansi-c.shell"
1183
- },
1184
- {
1185
- match: "\\\\[0-9]{3}",
1186
- name: "constant.character.escape.octal.shell"
1187
- },
1188
- {
1189
- match: "\\\\x[0-9a-fA-F]{2}",
1190
- name: "constant.character.escape.hex.shell"
1191
- },
1192
- {
1193
- match: "\\\\c.",
1194
- name: "constant.character.escape.control-char.shell"
1195
- }
1196
- ]
1197
- }
1198
- ]
1199
- },
1200
- support: {
1201
- patterns: [
1202
- {
1203
- match: "(?<=^|;|&|\\s)(?::|\\.)(?=\\s|;|&|$)",
1204
- name: "support.function.builtin.shell"
1205
- },
1206
- {
1207
- match: "(?<=^|;|&|\\s)(?:alias|bg|bind|break|builtin|caller|cd|command|compgen|complete|dirs|disown|echo|enable|eval|exec|exit|false|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|read|readonly|set|shift|shopt|source|suspend|test|times|trap|true|type|ulimit|umask|unalias|unset|wait)(?=\\s|;|&|$)",
1208
- name: "support.function.builtin.shell"
1209
- }
1210
- ]
1211
- },
1212
- variable: {
1213
- patterns: [
1214
- {
1215
- captures: {
1216
- "1": {
1217
- name: "punctuation.definition.variable.shell"
1218
- }
1219
- },
1220
- match: "(\\$)[a-zA-Z_][a-zA-Z0-9_]*",
1221
- name: "variable.other.normal.shell"
1222
- },
1223
- {
1224
- captures: {
1225
- "1": {
1226
- name: "punctuation.definition.variable.shell"
1227
- }
1228
- },
1229
- match: "(\\$)[-*@#?$!0_]",
1230
- name: "variable.other.special.shell"
1231
- },
1232
- {
1233
- captures: {
1234
- "1": {
1235
- name: "punctuation.definition.variable.shell"
1236
- }
1237
- },
1238
- match: "(\\$)[1-9]",
1239
- name: "variable.other.positional.shell"
1240
- },
1241
- {
1242
- begin: "\\${",
1243
- beginCaptures: {
1244
- "0": {
1245
- name: "punctuation.definition.variable.shell"
1246
- }
1247
- },
1248
- end: "}",
1249
- endCaptures: {
1250
- "0": {
1251
- name: "punctuation.definition.variable.shell"
1252
- }
1253
- },
1254
- name: "variable.other.bracket.shell",
1255
- patterns: [
1256
- {
1257
- match: "!|:[-=?]?|\\*|@|#{1,2}|%{1,2}|/",
1258
- name: "keyword.operator.expansion.shell"
1259
- },
1260
- {
1261
- captures: {
1262
- "1": {
1263
- name: "punctuation.section.array.shell"
1264
- },
1265
- "3": {
1266
- name: "punctuation.section.array.shell"
1267
- }
1268
- },
1269
- match: "(\\[)([^\\]]+)(\\])"
1270
- },
1271
- {
1272
- include: "#variable"
1273
- },
1274
- {
1275
- include: "#string"
1276
- }
1277
- ]
1278
- }
1279
- ]
1280
- }
1281
- };
1282
- var shellUnixBash_tmLanguage = {
1283
- information_for_contributors: information_for_contributors,
1284
- version: version,
1285
- name: name,
1286
- scopeName: scopeName,
1287
- patterns: patterns,
1288
- repository: repository
1289
- };
1290
-
1291
- export { shellUnixBash_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };