@codingame/monaco-languageclient-wrapper 1.4.0 → 1.4.1
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.
- package/dist/BSV.tmLanguage.js +299 -0
- package/dist/COBOL Copybook.js +2017 -0
- package/dist/COBOL.js +2017 -0
- package/dist/COBOL.tmLanguage.js +149 -0
- package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
- package/dist/Configuration.d.ts +15 -0
- package/dist/Erlang.plist.js +1752 -0
- package/dist/JSON.tmLanguage.js +221 -0
- package/dist/JSONC.tmLanguage.js +221 -0
- package/dist/JavaScript.tmLanguage.js +5894 -0
- package/dist/Kotlin.tmLanguage.js +724 -0
- package/dist/MagicPython.tmLanguage.js +5340 -0
- package/dist/MagicRegExp.tmLanguage.js +505 -0
- package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
- package/dist/SQL.plist.js +482 -0
- package/dist/Scala.tmLanguage.js +1255 -0
- package/dist/TypeScript.tmLanguage.js +5641 -0
- package/dist/WatchableConsoleWindow.d.ts +22 -0
- package/dist/_rollupPluginBabelHelpers.js +54 -0
- package/dist/asp-vb-net.tmlanguage.js +247 -0
- package/dist/bsv.js +49 -0
- package/dist/c.js +18 -0
- package/dist/c.tmLanguage.js +3347 -0
- package/dist/cabal.tmLanguage.js +66 -0
- package/dist/clojure.tmLanguage.js +443 -0
- package/dist/codeblock-cabal.js +42 -0
- package/dist/codeblock-haskell.js +42 -0
- package/dist/codeblock-literate-haskell.js +42 -0
- package/dist/codeblock.js +36 -0
- package/dist/codeblock2.js +95 -0
- package/dist/coffeescript.js +18 -0
- package/dist/coffeescript.tmLanguage.js +1324 -0
- package/dist/configuration/index.d.ts +5 -0
- package/dist/cpp.js +18 -0
- package/dist/cpp.tmLanguage.js +19996 -0
- package/dist/csharp.js +18 -0
- package/dist/csharp.tmLanguage.js +4750 -0
- package/dist/css.tmLanguage.js +1873 -0
- package/dist/css.worker.js +6 -0
- package/dist/cssContribution.js +10 -0
- package/dist/cuda-cpp.tmLanguage.js +19993 -0
- package/dist/d.js +3159 -0
- package/dist/dart.js +530 -0
- package/dist/diet.js +758 -0
- package/dist/diet2.js +92 -0
- package/dist/dml.js +169 -0
- package/dist/eex.js +55 -0
- package/dist/elixir.js +2341 -0
- package/dist/elixir2.js +184 -0
- package/dist/erlang.js +195 -0
- package/dist/expression.js +846 -0
- package/dist/extensionConfiguration.d.ts +6 -1
- package/dist/extensions/autofold.d.ts +2 -0
- package/dist/extensions/cobol.d.ts +2 -0
- package/dist/extensions/index.d.ts +2 -0
- package/dist/features/cssContribution.d.ts +1 -0
- package/dist/features/htmlContribution.d.ts +1 -0
- package/dist/features/jsonContribution.d.ts +1 -0
- package/dist/features/typescriptContribution.d.ts +1 -0
- package/dist/fsharp.js +18 -0
- package/dist/fsharp.tmLanguage.js +1811 -0
- package/dist/go.tmLanguage.js +1025 -0
- package/dist/groovy.js +229 -0
- package/dist/groovy.tmLanguage.js +1391 -0
- package/dist/haskell.tmLanguage.js +629 -0
- package/dist/html (eex).js +31 -0
- package/dist/html-derivative.tmLanguage.js +57 -0
- package/dist/html.tmLanguage.js +2652 -0
- package/dist/html.tmLanguage2.js +97 -0
- package/dist/html.worker.js +6 -0
- package/dist/htmlContribution.js +10 -0
- package/dist/inline-styles.js +104 -0
- package/dist/inline-template.js +88 -0
- package/dist/java.js +18 -0
- package/dist/java.tmLanguage.js +1863 -0
- package/dist/javascript.js +196 -0
- package/dist/javascriptreact.js +196 -0
- package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
- package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
- package/dist/json.worker.js +6 -0
- package/dist/jsonContribution.js +78 -0
- package/dist/keybindings/index.d.ts +2 -0
- package/dist/keybindings/keybindingHelper.d.ts +2 -0
- package/dist/keybindings/vim.d.ts +3 -0
- package/dist/kotlin.js +117 -0
- package/dist/kotlinscript.js +117 -0
- package/dist/languageClient.d.ts +16 -4
- package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
- package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
- package/dist/languages/index.d.ts +3 -0
- package/dist/languages/monarch/index.d.ts +7 -0
- package/dist/languages/monarch/list.d.ts +7 -0
- package/dist/languages/monarch/stub-generator.d.ts +2 -0
- package/dist/languages/snippets/index.d.ts +1 -0
- package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
- package/dist/languages/textMate/index.d.ts +2 -0
- package/dist/literateHaskell.tmLanguage.js +70 -0
- package/dist/lua.tmLanguage.js +289 -0
- package/dist/main.js +56 -21
- package/dist/markdown.js +103 -0
- package/dist/markdown.tmLanguage.js +2784 -0
- package/dist/merlin.js +111 -0
- package/dist/monaco.d.ts +8 -0
- package/dist/objective-c.tmLanguage.js +3618 -0
- package/dist/ocaml-hover-info.js +34 -0
- package/dist/ocaml-hover-type.js +24 -0
- package/dist/ocaml-markdown-codeblock.js +42 -0
- package/dist/ocaml.js +2979 -0
- package/dist/ocamlbuild.js +239 -0
- package/dist/opam.js +149 -0
- package/dist/pascal.js +382 -0
- package/dist/pascal.tmLanguage.js +169 -0
- package/dist/perl.tmLanguage.js +2986 -0
- package/dist/perl6.tmLanguage.js +323 -0
- package/dist/pgsql.tmLanguage.js +284 -0
- package/dist/php.js +265 -0
- package/dist/php.tmLanguage.js +3791 -0
- package/dist/platform.tmLanguage.js +1135 -0
- package/dist/powershell.js +18 -0
- package/dist/powershell.tmLanguage.js +1037 -0
- package/dist/r.tmLanguage.js +551 -0
- package/dist/reason-hover-info.js +34 -0
- package/dist/reason-hover-signature.js +21 -0
- package/dist/reason-hover-type.js +21 -0
- package/dist/reason-markdown-codeblock.js +42 -0
- package/dist/reason.js +100 -0
- package/dist/ruby.tmLanguage.js +2784 -0
- package/dist/rust.tmLanguage.js +1178 -0
- package/dist/sassdoc.tmLanguage.js +362 -0
- package/dist/scss.tmLanguage.js +1887 -0
- package/dist/sdc.tmLanguage.js +712 -0
- package/dist/sdl.js +162 -0
- package/dist/services/EditorModelResolverService.d.ts +8 -0
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
- package/dist/shell-unix-bash.tmLanguage.js +1291 -0
- package/dist/sql.js +21 -0
- package/dist/stub-generator.js +15 -0
- package/dist/swift.js +183 -0
- package/dist/swift.tmLanguage.js +3288 -0
- package/dist/systemverilog.js +208 -0
- package/dist/systemverilog.tmLanguage.js +1067 -0
- package/dist/tcl.js +151 -0
- package/dist/tcl.tmlanguage.yaml.js +5484 -0
- package/dist/template.js +207 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/registry.d.ts +4 -0
- package/dist/theme/semanticHighlight.d.ts +1 -0
- package/dist/theme/tools.d.ts +13 -0
- package/dist/tools.d.ts +3 -0
- package/dist/ts.worker.js +6 -0
- package/dist/typescript.js +312 -0
- package/dist/typescriptContribution.js +36 -0
- package/dist/typescriptreact.js +312 -0
- package/dist/ucf.tmLanguage.js +36 -0
- package/dist/vb.js +88 -0
- package/dist/verilog.js +432 -0
- package/dist/verilog.tmLanguage.js +321 -0
- package/dist/worker.d.ts +6 -0
- package/dist/worker.js +54 -0
- package/dist/xml.tmLanguage.js +395 -0
- package/dist/xsl.tmLanguage.js +102 -0
- package/dist/yaml.tmLanguage.js +629 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/monaco-languageclient-wrapper.d.ts +0 -1478
- package/dist/tsdoc-metadata.json +0 -11
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var fileTypes = [
|
|
2
|
+
"cabal"
|
|
3
|
+
];
|
|
4
|
+
var name = "Cabal";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
name: "keyword.other.cabal",
|
|
8
|
+
match: "(?ix)(\\n|^)\n ( name\n | version\n | cabal-version\n | build-type\n | license(-file)?\n | copyright\n | author\n | maintainer\n | stability\n | homepage\n | bug-reports\n | package-url\n | synopsis\n | data-(files|dir)\n | description\n | category\n | extra-(source|doc|tmp)-files\n | tested-with\n ):\n "
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: "keyword.other.cabal",
|
|
12
|
+
match: "(?ix)^[ \\t]+\n ( build-depends\n | other-modules\n | hs-source-dirs\n | ((other|default)-)?extensions\n | build-tools\n | buildable\n | ghc(-(prof|shared))?-options\n | (install-)?includes\n | include-dirs\n | (c|js)-sources\n | extra(-ghci)?-libraries\n | extra-lib-dirs\n | (cc|cpp|ld)-options\n | pkgconfig-depends\n | default-language\n | frameworks\n | default\n | manual\n | location\n | branch\n | tag\n | subdir\n | exposed(-modules)?\n | reexported-modules\n | main-is\n | type\n | test-module\n | description\n | setup-depends\n | mixins\n | import\n | autogen-modules\n ):\n "
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: "keyword.operator.cabal",
|
|
16
|
+
match: "(==|>=|<=|<|>|\\|\\||&&|!)"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "constant.numeric.cabal",
|
|
20
|
+
match: "(?<=[^\\w])\\d+(\\.\\d+)*(\\.\\*)?"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "markup.underline.link.cabal",
|
|
24
|
+
match: "\\w+:/(/[\\w._\\-\\d%])+(\\?[\\w.+_\\-\\d%]+)(&[\\w._+\\-\\d%]+)*"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: "entity.name.section.cabal",
|
|
28
|
+
match: "^(?ix:\n ( library\n | custom-setup\n ))$"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
match: "^(?ix:\n ( executable\n | flag\n | test-suite\n | benchmark\n | common\n | source-repository\n ))( |\\t)+([\\w\\-_]+)$",
|
|
32
|
+
captures: {
|
|
33
|
+
"1": {
|
|
34
|
+
name: "entity.name.section.cabal"
|
|
35
|
+
},
|
|
36
|
+
"3": {
|
|
37
|
+
name: "entity.name.function.cabal"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "keyword.control.cabal",
|
|
43
|
+
match: "^[ \\t]*(if|else)"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "comment.line.double-dash",
|
|
47
|
+
match: "^\\s*--.*$"
|
|
48
|
+
}
|
|
49
|
+
];
|
|
50
|
+
var scopeName = "source.cabal";
|
|
51
|
+
var uuid = "5eb56f02-df11-40b2-b6d5-fa444522416c";
|
|
52
|
+
var information_for_contributors = [
|
|
53
|
+
"This file has been converted from https://github.com/JustusAdam/language-haskell/blob/df29e5733bd5b31c59af7404306e0759431c33ea/",
|
|
54
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
55
|
+
"Once accepted there, we are happy to receive an update request."
|
|
56
|
+
];
|
|
57
|
+
var cabal_tmLanguage = {
|
|
58
|
+
fileTypes: fileTypes,
|
|
59
|
+
name: name,
|
|
60
|
+
patterns: patterns,
|
|
61
|
+
scopeName: scopeName,
|
|
62
|
+
uuid: uuid,
|
|
63
|
+
information_for_contributors: information_for_contributors
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export { cabal_tmLanguage as default, fileTypes, information_for_contributors, name, patterns, scopeName, uuid };
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
var information_for_contributors = [
|
|
2
|
+
"This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/clojure/",
|
|
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-clojure/commit/de877502aa4a77ccdc2c7f0c9180436aea3effff";
|
|
7
|
+
var name = "Clojure";
|
|
8
|
+
var scopeName = "source.clojure";
|
|
9
|
+
var patterns = [
|
|
10
|
+
{
|
|
11
|
+
include: "#comment"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
include: "#shebang-comment"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
include: "#quoted-sexp"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
include: "#sexp"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
include: "#keyfn"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
include: "#string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
include: "#vector"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
include: "#set"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
include: "#map"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
include: "#regexp"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
include: "#var"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
include: "#constants"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
include: "#dynamic-variables"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
include: "#metadata"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
include: "#namespace-symbol"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
include: "#symbol"
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
var repository = {
|
|
60
|
+
comment: {
|
|
61
|
+
begin: "(?<!\\\\);",
|
|
62
|
+
beginCaptures: {
|
|
63
|
+
"0": {
|
|
64
|
+
name: "punctuation.definition.comment.clojure"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
end: "$",
|
|
68
|
+
name: "comment.line.semicolon.clojure"
|
|
69
|
+
},
|
|
70
|
+
constants: {
|
|
71
|
+
patterns: [
|
|
72
|
+
{
|
|
73
|
+
match: "(nil)(?=(\\s|\\)|\\]|\\}))",
|
|
74
|
+
name: "constant.language.nil.clojure"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
match: "(true|false)",
|
|
78
|
+
name: "constant.language.boolean.clojure"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
match: "(-?\\d+/\\d+)",
|
|
82
|
+
name: "constant.numeric.ratio.clojure"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
match: "(-?\\d+[rR]\\w+)",
|
|
86
|
+
name: "constant.numeric.arbitrary-radix.clojure"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
match: "(-?0[xX][0-9a-fA-F]+)",
|
|
90
|
+
name: "constant.numeric.hexadecimal.clojure"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
match: "(-?0\\d+)",
|
|
94
|
+
name: "constant.numeric.octal.clojure"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
match: "(-?\\d+\\.\\d+([eE][+-]?\\d+)?M)",
|
|
98
|
+
name: "constant.numeric.bigdecimal.clojure"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
match: "(-?\\d+\\.\\d+([eE][+-]?\\d+)?)",
|
|
102
|
+
name: "constant.numeric.double.clojure"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
match: "(-?\\d+N)",
|
|
106
|
+
name: "constant.numeric.bigint.clojure"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
match: "(-?\\d+)",
|
|
110
|
+
name: "constant.numeric.long.clojure"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
include: "#keyword"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
keyword: {
|
|
118
|
+
match: "(?<=(\\s|\\(|\\[|\\{)):[\\w\\#\\.\\-\\_\\:\\+\\=\\>\\<\\/\\!\\?\\*]+(?=(\\s|\\)|\\]|\\}|\\,))",
|
|
119
|
+
name: "constant.keyword.clojure"
|
|
120
|
+
},
|
|
121
|
+
keyfn: {
|
|
122
|
+
patterns: [
|
|
123
|
+
{
|
|
124
|
+
match: "(?<=(\\s|\\(|\\[|\\{))(if(-[-\\p{Ll}\\?]*)?|when(-[-\\p{Ll}]*)?|for(-[-\\p{Ll}]*)?|cond|do|let(-[-\\p{Ll}\\?]*)?|binding|loop|recur|fn|throw[\\p{Ll}\\-]*|try|catch|finally|([\\p{Ll}]*case))(?=(\\s|\\)|\\]|\\}))",
|
|
125
|
+
name: "storage.control.clojure"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
match: "(?<=(\\s|\\(|\\[|\\{))(declare-?|(in-)?ns|import|use|require|load|compile|(def[\\p{Ll}\\-]*))(?=(\\s|\\)|\\]|\\}))",
|
|
129
|
+
name: "keyword.control.clojure"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"dynamic-variables": {
|
|
134
|
+
match: "\\*[\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\d]+\\*",
|
|
135
|
+
name: "meta.symbol.dynamic.clojure"
|
|
136
|
+
},
|
|
137
|
+
map: {
|
|
138
|
+
begin: "(\\{)",
|
|
139
|
+
beginCaptures: {
|
|
140
|
+
"1": {
|
|
141
|
+
name: "punctuation.section.map.begin.clojure"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
end: "(\\}(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\})",
|
|
145
|
+
endCaptures: {
|
|
146
|
+
"1": {
|
|
147
|
+
name: "punctuation.section.map.end.trailing.clojure"
|
|
148
|
+
},
|
|
149
|
+
"2": {
|
|
150
|
+
name: "punctuation.section.map.end.clojure"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
name: "meta.map.clojure",
|
|
154
|
+
patterns: [
|
|
155
|
+
{
|
|
156
|
+
include: "$self"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
metadata: {
|
|
161
|
+
patterns: [
|
|
162
|
+
{
|
|
163
|
+
begin: "(\\^\\{)",
|
|
164
|
+
beginCaptures: {
|
|
165
|
+
"1": {
|
|
166
|
+
name: "punctuation.section.metadata.map.begin.clojure"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
end: "(\\}(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\})",
|
|
170
|
+
endCaptures: {
|
|
171
|
+
"1": {
|
|
172
|
+
name: "punctuation.section.metadata.map.end.trailing.clojure"
|
|
173
|
+
},
|
|
174
|
+
"2": {
|
|
175
|
+
name: "punctuation.section.metadata.map.end.clojure"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
name: "meta.metadata.map.clojure",
|
|
179
|
+
patterns: [
|
|
180
|
+
{
|
|
181
|
+
include: "$self"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
begin: "(\\^)",
|
|
187
|
+
end: "(\\s)",
|
|
188
|
+
name: "meta.metadata.simple.clojure",
|
|
189
|
+
patterns: [
|
|
190
|
+
{
|
|
191
|
+
include: "#keyword"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
include: "$self"
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"quoted-sexp": {
|
|
201
|
+
begin: "(['``]\\()",
|
|
202
|
+
beginCaptures: {
|
|
203
|
+
"1": {
|
|
204
|
+
name: "punctuation.section.expression.begin.clojure"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
end: "(\\))$|(\\)(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\))",
|
|
208
|
+
endCaptures: {
|
|
209
|
+
"1": {
|
|
210
|
+
name: "punctuation.section.expression.end.trailing.clojure"
|
|
211
|
+
},
|
|
212
|
+
"2": {
|
|
213
|
+
name: "punctuation.section.expression.end.trailing.clojure"
|
|
214
|
+
},
|
|
215
|
+
"3": {
|
|
216
|
+
name: "punctuation.section.expression.end.clojure"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
name: "meta.quoted-expression.clojure",
|
|
220
|
+
patterns: [
|
|
221
|
+
{
|
|
222
|
+
include: "$self"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
regexp: {
|
|
227
|
+
begin: "#\"",
|
|
228
|
+
beginCaptures: {
|
|
229
|
+
"0": {
|
|
230
|
+
name: "punctuation.definition.regexp.begin.clojure"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
end: "\"",
|
|
234
|
+
endCaptures: {
|
|
235
|
+
"0": {
|
|
236
|
+
name: "punctuation.definition.regexp.end.clojure"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
name: "string.regexp.clojure",
|
|
240
|
+
patterns: [
|
|
241
|
+
{
|
|
242
|
+
include: "#regexp_escaped_char"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
regexp_escaped_char: {
|
|
247
|
+
match: "\\\\.",
|
|
248
|
+
name: "constant.character.escape.clojure"
|
|
249
|
+
},
|
|
250
|
+
set: {
|
|
251
|
+
begin: "(\\#\\{)",
|
|
252
|
+
beginCaptures: {
|
|
253
|
+
"1": {
|
|
254
|
+
name: "punctuation.section.set.begin.clojure"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
end: "(\\}(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\})",
|
|
258
|
+
endCaptures: {
|
|
259
|
+
"1": {
|
|
260
|
+
name: "punctuation.section.set.end.trailing.clojure"
|
|
261
|
+
},
|
|
262
|
+
"2": {
|
|
263
|
+
name: "punctuation.section.set.end.clojure"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
name: "meta.set.clojure",
|
|
267
|
+
patterns: [
|
|
268
|
+
{
|
|
269
|
+
include: "$self"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
sexp: {
|
|
274
|
+
begin: "(\\()",
|
|
275
|
+
beginCaptures: {
|
|
276
|
+
"1": {
|
|
277
|
+
name: "punctuation.section.expression.begin.clojure"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
end: "(\\))$|(\\)(?=[\\}\\]\\)\\s]*(?:;|$)))|(\\))",
|
|
281
|
+
endCaptures: {
|
|
282
|
+
"1": {
|
|
283
|
+
name: "punctuation.section.expression.end.trailing.clojure"
|
|
284
|
+
},
|
|
285
|
+
"2": {
|
|
286
|
+
name: "punctuation.section.expression.end.trailing.clojure"
|
|
287
|
+
},
|
|
288
|
+
"3": {
|
|
289
|
+
name: "punctuation.section.expression.end.clojure"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
name: "meta.expression.clojure",
|
|
293
|
+
patterns: [
|
|
294
|
+
{
|
|
295
|
+
begin: "(?<=\\()(ns|declare|def[\\w\\d._:+=><!?*-]*|[\\w._:+=><!?*-][\\w\\d._:+=><!?*-]*/def[\\w\\d._:+=><!?*-]*)\\s+",
|
|
296
|
+
beginCaptures: {
|
|
297
|
+
"1": {
|
|
298
|
+
name: "keyword.control.clojure"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
end: "(?=\\))",
|
|
302
|
+
name: "meta.definition.global.clojure",
|
|
303
|
+
patterns: [
|
|
304
|
+
{
|
|
305
|
+
include: "#metadata"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
include: "#dynamic-variables"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
match: "([\\p{L}\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]*)",
|
|
312
|
+
name: "entity.global.clojure"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
include: "$self"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
include: "#keyfn"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
include: "#constants"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
include: "#vector"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
include: "#map"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
include: "#set"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
include: "#sexp"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
match: "(?<=\\()(.+?)(?=\\s|\\))",
|
|
339
|
+
captures: {
|
|
340
|
+
"1": {
|
|
341
|
+
name: "entity.name.function.clojure"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
patterns: [
|
|
345
|
+
{
|
|
346
|
+
include: "$self"
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
include: "$self"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"shebang-comment": {
|
|
356
|
+
begin: "^(#!)",
|
|
357
|
+
beginCaptures: {
|
|
358
|
+
"1": {
|
|
359
|
+
name: "punctuation.definition.comment.shebang.clojure"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
end: "$",
|
|
363
|
+
name: "comment.line.shebang.clojure"
|
|
364
|
+
},
|
|
365
|
+
string: {
|
|
366
|
+
begin: "(?<!\\\\)(\")",
|
|
367
|
+
beginCaptures: {
|
|
368
|
+
"1": {
|
|
369
|
+
name: "punctuation.definition.string.begin.clojure"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
end: "(\")",
|
|
373
|
+
endCaptures: {
|
|
374
|
+
"1": {
|
|
375
|
+
name: "punctuation.definition.string.end.clojure"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
name: "string.quoted.double.clojure",
|
|
379
|
+
patterns: [
|
|
380
|
+
{
|
|
381
|
+
match: "\\\\.",
|
|
382
|
+
name: "constant.character.escape.clojure"
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
"namespace-symbol": {
|
|
387
|
+
patterns: [
|
|
388
|
+
{
|
|
389
|
+
match: "([\\p{L}\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]*)/",
|
|
390
|
+
captures: {
|
|
391
|
+
"1": {
|
|
392
|
+
name: "meta.symbol.namespace.clojure"
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
symbol: {
|
|
399
|
+
patterns: [
|
|
400
|
+
{
|
|
401
|
+
match: "([\\p{L}\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]*)",
|
|
402
|
+
name: "meta.symbol.clojure"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
"var": {
|
|
407
|
+
match: "(?<=(\\s|\\(|\\[|\\{)\\#)'[\\w\\.\\-\\_\\:\\+\\=\\>\\<\\/\\!\\?\\*]+(?=(\\s|\\)|\\]|\\}))",
|
|
408
|
+
name: "meta.var.clojure"
|
|
409
|
+
},
|
|
410
|
+
vector: {
|
|
411
|
+
begin: "(\\[)",
|
|
412
|
+
beginCaptures: {
|
|
413
|
+
"1": {
|
|
414
|
+
name: "punctuation.section.vector.begin.clojure"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
end: "(\\](?=[\\}\\]\\)\\s]*(?:;|$)))|(\\])",
|
|
418
|
+
endCaptures: {
|
|
419
|
+
"1": {
|
|
420
|
+
name: "punctuation.section.vector.end.trailing.clojure"
|
|
421
|
+
},
|
|
422
|
+
"2": {
|
|
423
|
+
name: "punctuation.section.vector.end.clojure"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
name: "meta.vector.clojure",
|
|
427
|
+
patterns: [
|
|
428
|
+
{
|
|
429
|
+
include: "$self"
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
var clojure_tmLanguage = {
|
|
435
|
+
information_for_contributors: information_for_contributors,
|
|
436
|
+
version: version,
|
|
437
|
+
name: name,
|
|
438
|
+
scopeName: scopeName,
|
|
439
|
+
patterns: patterns,
|
|
440
|
+
repository: repository
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export { clojure_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var fileTypes = [
|
|
2
|
+
];
|
|
3
|
+
var injectionSelector = "L:markup.fenced_code.block.markdown";
|
|
4
|
+
var patterns = [
|
|
5
|
+
{
|
|
6
|
+
include: "#cabal-code-block"
|
|
7
|
+
}
|
|
8
|
+
];
|
|
9
|
+
var repository = {
|
|
10
|
+
"cabal-code-block": {
|
|
11
|
+
begin: "\\b(cabal)\\b(\\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.cabal",
|
|
18
|
+
patterns: [
|
|
19
|
+
{
|
|
20
|
+
include: "source.cabal"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var scopeName = "markdown.cabal.codeblock";
|
|
28
|
+
var information_for_contributors = [
|
|
29
|
+
"This file has been converted from https://github.com/JustusAdam/language-haskell/blob/df29e5733bd5b31c59af7404306e0759431c33ea/",
|
|
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 codeblockCabal = {
|
|
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 { codeblockCabal as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var fileTypes = [
|
|
2
|
+
];
|
|
3
|
+
var injectionSelector = "L:markup.fenced_code.block.markdown";
|
|
4
|
+
var patterns = [
|
|
5
|
+
{
|
|
6
|
+
include: "#haskell-code-block"
|
|
7
|
+
}
|
|
8
|
+
];
|
|
9
|
+
var repository = {
|
|
10
|
+
"haskell-code-block": {
|
|
11
|
+
begin: "\\b(haskell|hs)\\b(\\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.haskell",
|
|
18
|
+
patterns: [
|
|
19
|
+
{
|
|
20
|
+
include: "source.haskell"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var scopeName = "markdown.haskell.codeblock";
|
|
28
|
+
var information_for_contributors = [
|
|
29
|
+
"This file has been converted from https://github.com/JustusAdam/language-haskell/blob/df29e5733bd5b31c59af7404306e0759431c33ea/",
|
|
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 codeblockHaskell = {
|
|
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 { codeblockHaskell as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var fileTypes = [
|
|
2
|
+
];
|
|
3
|
+
var injectionSelector = "L:markup.fenced_code.block.markdown";
|
|
4
|
+
var patterns = [
|
|
5
|
+
{
|
|
6
|
+
include: "#lhaskell-code-block"
|
|
7
|
+
}
|
|
8
|
+
];
|
|
9
|
+
var repository = {
|
|
10
|
+
"lhaskell-code-block": {
|
|
11
|
+
begin: "\\b(literate-haskell|lhaskell|lhs)\\b(\\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.lhaskell",
|
|
18
|
+
patterns: [
|
|
19
|
+
{
|
|
20
|
+
include: "text.tex.latex.haskell"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var scopeName = "markdown.lhaskell.codeblock";
|
|
28
|
+
var information_for_contributors = [
|
|
29
|
+
"This file has been converted from https://github.com/JustusAdam/language-haskell/blob/df29e5733bd5b31c59af7404306e0759431c33ea/",
|
|
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 codeblockLiterateHaskell = {
|
|
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 { codeblockLiterateHaskell as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var fileTypes = [
|
|
2
|
+
];
|
|
3
|
+
var injectionSelector = "L:markup.fenced_code.block.markdown";
|
|
4
|
+
var patterns = [
|
|
5
|
+
{
|
|
6
|
+
include: "#kotlin-code-block"
|
|
7
|
+
}
|
|
8
|
+
];
|
|
9
|
+
var repository = {
|
|
10
|
+
"kotlin-code-block": {
|
|
11
|
+
begin: "kotlin",
|
|
12
|
+
end: "(^|\\G)(?=\\s*[`~]{3,}\\s*$)",
|
|
13
|
+
contentName: "meta.embedded.block.kotlin",
|
|
14
|
+
patterns: [
|
|
15
|
+
{
|
|
16
|
+
include: "source.kotlin"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var scopeName = "markdown.kotlin.codeblock";
|
|
22
|
+
var information_for_contributors = [
|
|
23
|
+
"This file has been converted from https://github.com/mathiasfrohlich/vscode-kotlin/blob/master/",
|
|
24
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
25
|
+
"Once accepted there, we are happy to receive an update request."
|
|
26
|
+
];
|
|
27
|
+
var codeblock = {
|
|
28
|
+
fileTypes: fileTypes,
|
|
29
|
+
injectionSelector: injectionSelector,
|
|
30
|
+
patterns: patterns,
|
|
31
|
+
repository: repository,
|
|
32
|
+
scopeName: scopeName,
|
|
33
|
+
information_for_contributors: information_for_contributors
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export { codeblock as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|