@codingame/monaco-languageclient-wrapper 1.0.9 → 1.1.0

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 (170) hide show
  1. package/dist/BSV.tmLanguage.js +299 -0
  2. package/dist/COBOL Copybook.js +2017 -0
  3. package/dist/COBOL.js +2017 -0
  4. package/dist/COBOL.tmLanguage.js +149 -0
  5. package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
  6. package/dist/Configuration.d.ts +15 -0
  7. package/dist/Erlang.plist.js +1752 -0
  8. package/dist/JSON.tmLanguage.js +221 -0
  9. package/dist/JSONC.tmLanguage.js +221 -0
  10. package/dist/JavaScript.tmLanguage.js +5894 -0
  11. package/dist/Kotlin.tmLanguage.js +724 -0
  12. package/dist/MagicPython.tmLanguage.js +5340 -0
  13. package/dist/MagicRegExp.tmLanguage.js +505 -0
  14. package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
  15. package/dist/SQL.plist.js +482 -0
  16. package/dist/Scala.tmLanguage.js +1255 -0
  17. package/dist/TypeScript.tmLanguage.js +5641 -0
  18. package/dist/WatchableConsoleWindow.d.ts +22 -0
  19. package/dist/_rollupPluginBabelHelpers.js +54 -0
  20. package/dist/asp-vb-net.tmlanguage.js +247 -0
  21. package/dist/bsv.js +49 -0
  22. package/dist/c.js +18 -0
  23. package/dist/c.tmLanguage.js +3347 -0
  24. package/dist/cabal.tmLanguage.js +66 -0
  25. package/dist/clojure.tmLanguage.js +443 -0
  26. package/dist/codeblock-cabal.js +42 -0
  27. package/dist/codeblock-haskell.js +42 -0
  28. package/dist/codeblock-literate-haskell.js +42 -0
  29. package/dist/codeblock.js +36 -0
  30. package/dist/codeblock2.js +95 -0
  31. package/dist/coffeescript.js +18 -0
  32. package/dist/coffeescript.tmLanguage.js +1324 -0
  33. package/dist/configuration/index.d.ts +5 -0
  34. package/dist/cpp.js +18 -0
  35. package/dist/cpp.tmLanguage.js +19996 -0
  36. package/dist/createLanguageClient.d.ts +2 -2
  37. package/dist/csharp.js +18 -0
  38. package/dist/csharp.tmLanguage.js +4750 -0
  39. package/dist/css.tmLanguage.js +1873 -0
  40. package/dist/css.worker.js +6 -0
  41. package/dist/cssContribution.js +10 -0
  42. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  43. package/dist/d.js +3159 -0
  44. package/dist/dart.js +530 -0
  45. package/dist/diet.js +758 -0
  46. package/dist/diet2.js +92 -0
  47. package/dist/dml.js +169 -0
  48. package/dist/eex.js +55 -0
  49. package/dist/elixir.js +2341 -0
  50. package/dist/elixir2.js +184 -0
  51. package/dist/erlang.js +195 -0
  52. package/dist/expression.js +846 -0
  53. package/dist/extensions/autofold.d.ts +2 -0
  54. package/dist/extensions/cobol.d.ts +2 -0
  55. package/dist/extensions/index.d.ts +2 -0
  56. package/dist/features/cssContribution.d.ts +1 -0
  57. package/dist/features/htmlContribution.d.ts +1 -0
  58. package/dist/features/jsonContribution.d.ts +1 -0
  59. package/dist/features/typescriptContribution.d.ts +1 -0
  60. package/dist/fsharp.js +18 -0
  61. package/dist/fsharp.tmLanguage.js +1811 -0
  62. package/dist/go.tmLanguage.js +1025 -0
  63. package/dist/groovy.js +229 -0
  64. package/dist/groovy.tmLanguage.js +1391 -0
  65. package/dist/haskell.tmLanguage.js +629 -0
  66. package/dist/html (eex).js +31 -0
  67. package/dist/html-derivative.tmLanguage.js +57 -0
  68. package/dist/html.tmLanguage.js +2652 -0
  69. package/dist/html.tmLanguage2.js +97 -0
  70. package/dist/html.worker.js +6 -0
  71. package/dist/htmlContribution.js +10 -0
  72. package/dist/index.d.ts +2 -2
  73. package/dist/inline-styles.js +104 -0
  74. package/dist/inline-template.js +88 -0
  75. package/dist/java.js +18 -0
  76. package/dist/java.tmLanguage.js +1863 -0
  77. package/dist/javascript.js +196 -0
  78. package/dist/javascriptreact.js +196 -0
  79. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  80. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  81. package/dist/json.worker.js +6 -0
  82. package/dist/jsonContribution.js +78 -0
  83. package/dist/keybindings/index.d.ts +2 -0
  84. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  85. package/dist/keybindings/vim.d.ts +3 -0
  86. package/dist/kotlin.js +117 -0
  87. package/dist/kotlinscript.js +117 -0
  88. package/dist/languageClient.d.ts +8 -14
  89. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  90. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  91. package/dist/languages/index.d.ts +3 -0
  92. package/dist/languages/monarch/index.d.ts +7 -0
  93. package/dist/languages/monarch/list.d.ts +7 -0
  94. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  95. package/dist/languages/snippets/index.d.ts +1 -0
  96. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  97. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  98. package/dist/languages/textMate/index.d.ts +2 -0
  99. package/dist/literateHaskell.tmLanguage.js +70 -0
  100. package/dist/lua.tmLanguage.js +289 -0
  101. package/dist/main.js +619 -314
  102. package/dist/markdown.js +103 -0
  103. package/dist/markdown.tmLanguage.js +2784 -0
  104. package/dist/merlin.js +111 -0
  105. package/dist/monaco.d.ts +8 -0
  106. package/dist/objective-c.tmLanguage.js +3618 -0
  107. package/dist/ocaml-hover-info.js +34 -0
  108. package/dist/ocaml-hover-type.js +24 -0
  109. package/dist/ocaml-markdown-codeblock.js +42 -0
  110. package/dist/ocaml.js +2979 -0
  111. package/dist/ocamlbuild.js +239 -0
  112. package/dist/opam.js +149 -0
  113. package/dist/pascal.js +382 -0
  114. package/dist/pascal.tmLanguage.js +169 -0
  115. package/dist/perl.tmLanguage.js +2986 -0
  116. package/dist/perl6.tmLanguage.js +323 -0
  117. package/dist/pgsql.tmLanguage.js +284 -0
  118. package/dist/php.js +265 -0
  119. package/dist/php.tmLanguage.js +3791 -0
  120. package/dist/platform.tmLanguage.js +1135 -0
  121. package/dist/powershell.js +18 -0
  122. package/dist/powershell.tmLanguage.js +1037 -0
  123. package/dist/r.tmLanguage.js +551 -0
  124. package/dist/reason-hover-info.js +34 -0
  125. package/dist/reason-hover-signature.js +21 -0
  126. package/dist/reason-hover-type.js +21 -0
  127. package/dist/reason-markdown-codeblock.js +42 -0
  128. package/dist/reason.js +100 -0
  129. package/dist/ruby.tmLanguage.js +2784 -0
  130. package/dist/rust.tmLanguage.js +1178 -0
  131. package/dist/sassdoc.tmLanguage.js +362 -0
  132. package/dist/scss.tmLanguage.js +1887 -0
  133. package/dist/sdc.tmLanguage.js +712 -0
  134. package/dist/sdl.js +162 -0
  135. package/dist/services/Configuration.d.ts +2 -3
  136. package/dist/services/EditorModelResolverService.d.ts +8 -0
  137. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  138. package/dist/services/WatchableConsoleWindow.d.ts +2 -0
  139. package/dist/services.d.ts +1 -2
  140. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  141. package/dist/sql.js +21 -0
  142. package/dist/staticOptions.d.ts +9 -0
  143. package/dist/stub-generator.js +15 -0
  144. package/dist/swift.js +183 -0
  145. package/dist/swift.tmLanguage.js +3288 -0
  146. package/dist/systemverilog.js +208 -0
  147. package/dist/systemverilog.tmLanguage.js +1067 -0
  148. package/dist/tcl.js +151 -0
  149. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  150. package/dist/template.js +207 -0
  151. package/dist/theme/index.d.ts +3 -0
  152. package/dist/theme/registry.d.ts +4 -0
  153. package/dist/theme/semanticHighlight.d.ts +1 -0
  154. package/dist/theme/tools.d.ts +13 -0
  155. package/dist/tools.d.ts +3 -0
  156. package/dist/ts.worker.js +6 -0
  157. package/dist/typescript.js +312 -0
  158. package/dist/typescriptContribution.js +36 -0
  159. package/dist/typescriptreact.js +312 -0
  160. package/dist/ucf.tmLanguage.js +36 -0
  161. package/dist/vb.js +88 -0
  162. package/dist/verilog.js +432 -0
  163. package/dist/verilog.tmLanguage.js +321 -0
  164. package/dist/worker.d.ts +6 -0
  165. package/dist/worker.js +54 -0
  166. package/dist/xml.tmLanguage.js +395 -0
  167. package/dist/xsl.tmLanguage.js +102 -0
  168. package/dist/yaml.tmLanguage.js +629 -0
  169. package/package.json +19 -20
  170. package/stats.html +1 -1
@@ -0,0 +1,42 @@
1
+ var fileTypes = [
2
+ ];
3
+ var injectionSelector = "L:markup.fenced_code.block.markdown";
4
+ var patterns = [
5
+ {
6
+ include: "#reason-code-block"
7
+ }
8
+ ];
9
+ var repository = {
10
+ "reason-code-block": {
11
+ begin: "(re|reason|reasonml)(\\s+[^`~]*)?$",
12
+ end: "(^|\\G)(?=\\s*[`~]{3,}\\s*$)",
13
+ patterns: [
14
+ {
15
+ begin: "(^|\\G)(\\s*)(.*)",
16
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
17
+ contentName: "meta.embedded.block.reason",
18
+ patterns: [
19
+ {
20
+ include: "source.reason"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
26
+ };
27
+ var scopeName = "markdown.reason.codeblock";
28
+ var information_for_contributors = [
29
+ "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
30
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
31
+ "Once accepted there, we are happy to receive an update request."
32
+ ];
33
+ var reasonMarkdownCodeblock = {
34
+ fileTypes: fileTypes,
35
+ injectionSelector: injectionSelector,
36
+ patterns: patterns,
37
+ repository: repository,
38
+ scopeName: scopeName,
39
+ information_for_contributors: information_for_contributors
40
+ };
41
+
42
+ export { reasonMarkdownCodeblock as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
package/dist/reason.js ADDED
@@ -0,0 +1,100 @@
1
+ var lambda = {
2
+ prefix: "fun",
3
+ body: [
4
+ "(${1:pattern}) => ${2:${1:pattern}}"
5
+ ]
6
+ };
7
+ var module = {
8
+ prefix: "module",
9
+ body: [
10
+ "module ${1:M} = ${2:{}};$0"
11
+ ]
12
+ };
13
+ var type = {
14
+ prefix: "type",
15
+ body: [
16
+ "type ${1:name} ${2:'${3:arg} }=",
17
+ "\t| ${4:Con${2: '${3:arg}}}",
18
+ "\t;"
19
+ ]
20
+ };
21
+ var reason = {
22
+ "function": {
23
+ prefix: "let",
24
+ body: [
25
+ "let ${1:f} = (${2:pattern}) => ${3:${2:pattern}};$0"
26
+ ]
27
+ },
28
+ "function (block)": {
29
+ prefix: "let",
30
+ body: [
31
+ "let ${1:f} = (${2:pattern}) => {",
32
+ "\t${3:${2:pattern}}$0",
33
+ "};"
34
+ ]
35
+ },
36
+ lambda: lambda,
37
+ "lambda (switch)": {
38
+ prefix: "fun",
39
+ body: [
40
+ "fun",
41
+ "\t| ${1:pattern} => ${2:${1:pattern}}",
42
+ "\t;"
43
+ ]
44
+ },
45
+ "let": {
46
+ prefix: "let",
47
+ body: [
48
+ "let ${1:pattern} = ${2:()};$0"
49
+ ]
50
+ },
51
+ "let (block)": {
52
+ prefix: "let",
53
+ body: [
54
+ "let ${1:pattern} = {",
55
+ "\t$0",
56
+ "};"
57
+ ]
58
+ },
59
+ module: module,
60
+ "module (block)": {
61
+ prefix: "module",
62
+ body: [
63
+ "module ${1:M} = {",
64
+ "\t$0",
65
+ "};"
66
+ ]
67
+ },
68
+ "module function": {
69
+ prefix: "module",
70
+ body: [
71
+ "module ${1:M} = (${2:X}: $3{:{}}) => ${4:${2:X}};$0"
72
+ ]
73
+ },
74
+ "module function (block)": {
75
+ prefix: "module",
76
+ body: [
77
+ "module ${1:M} = (${2:X}: $3{:{}}) => {",
78
+ "\t${4:include ${2:X}}",
79
+ "\t$0",
80
+ "};"
81
+ ]
82
+ },
83
+ "switch": {
84
+ prefix: "switch",
85
+ body: [
86
+ "switch ${1:scrutinee} {",
87
+ "| ${2:pattern} => ${3:${2:pattern}}",
88
+ "};"
89
+ ]
90
+ },
91
+ "type (alias or abstract)": {
92
+ prefix: "type",
93
+ body: [
94
+ "type ${1:name} ${2:${3:'${4:arg} }= ${5:'${4:arg}}};$0"
95
+ ]
96
+ },
97
+ type: type
98
+ };
99
+
100
+ export { reason as default, lambda, module, type };