@codingame/monaco-editor-wrapper 1.11.1 → 1.13.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/COBOL.tmLanguage.js +9 -2
- package/dist/angular.js +6 -0
- package/dist/cobol-snippets.js +103 -0
- package/dist/cobol2.js +189 -2
- package/dist/cpptools.js +10 -2
- package/dist/dart2.js +1 -1
- package/dist/dart3.js +29 -14
- package/dist/features/extensionConfigurations.js +48 -1
- package/dist/fsharp.tmLanguage.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -2
- package/dist/java2.js +20 -3
- package/dist/javascript-javascript.code-snippets.js +3 -3
- package/dist/jsx-tags.js +1 -1
- package/dist/languages/extensions/themeLoader.d.ts +3 -0
- package/dist/lua.tmLanguage.js +32 -30
- package/dist/lua2.js +9 -9
- package/dist/main.js +12520 -815
- package/dist/markdown-basics-markdown.code-snippets.js +2 -2
- package/dist/markdown.tmLanguage.js +2 -2
- package/dist/monaco.d.ts +1 -1
- package/dist/omnisharp.js +78 -0
- package/dist/scalameta.js +4 -3
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +2 -3
- package/dist/shell-unix-bash.tmLanguage.js +63 -3
- package/dist/solidity-solidity.js +213 -0
- package/dist/solidity.js +71 -0
- package/dist/solidity2.js +1187 -0
- package/dist/solidity3.js +136 -0
- package/dist/swift.tmLanguage.js +33 -9
- package/dist/template.js +2 -2
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/registry.d.ts +6 -1
- package/dist/theme/tools.d.ts +3 -5
- package/dist/theme-defaults~dark_plus.js +207 -0
- package/dist/theme-defaults~dark_vs.js +406 -0
- package/dist/theme-defaults~hc_black.js +470 -0
- package/dist/theme-defaults~hc_light.js +595 -0
- package/dist/theme-defaults~light_plus.js +209 -0
- package/dist/theme-defaults~light_vs.js +435 -0
- package/dist/typescript-basics-typescript.code-snippets.js +3 -3
- package/dist/typescript-language-features.js +50 -2
- package/dist/vscode-R-rmarkdown.js +370 -0
- package/dist/vscode-R.js +28 -4
- package/dist/vscode-python.js +2 -28
- package/package.json +18 -19
- package/stats.html +1 -1
- package/dist/powershell-powershell.code-snippets.js +0 -18
|
@@ -7,67 +7,114 @@ import * as monaco from 'monaco-editor/esm/vs/editor/edcore.main';
|
|
|
7
7
|
const loader = {
|
|
8
8
|
'typescript-language-features': async () => (await import(
|
|
9
9
|
/* webpackChunkName: "configuration-registration-typescript-language-features" */
|
|
10
|
+
|
|
11
|
+
/* webpackMode: "lazy" */
|
|
10
12
|
'../typescript-language-features.js').then(module => module)).default,
|
|
11
13
|
'angular': async () => (await import(
|
|
12
14
|
/* webpackChunkName: "configuration-registration-angular" */
|
|
15
|
+
|
|
16
|
+
/* webpackMode: "lazy" */
|
|
13
17
|
'../angular.js').then(module => module)).default,
|
|
14
18
|
'd': async () => (await import(
|
|
15
19
|
/* webpackChunkName: "configuration-registration-d" */
|
|
20
|
+
|
|
21
|
+
/* webpackMode: "lazy" */
|
|
16
22
|
'../d3.js').then(module => module)).default,
|
|
17
23
|
'dart': async () => (await import(
|
|
18
24
|
/* webpackChunkName: "configuration-registration-dart" */
|
|
25
|
+
|
|
26
|
+
/* webpackMode: "lazy" */
|
|
19
27
|
'../dart3.js').then(module => module)).default,
|
|
20
28
|
'haskell': async () => (await import(
|
|
21
29
|
/* webpackChunkName: "configuration-registration-haskell" */
|
|
30
|
+
|
|
31
|
+
/* webpackMode: "lazy" */
|
|
22
32
|
'../haskell2.js').then(module => module)).default,
|
|
23
33
|
'ocaml': async () => (await import(
|
|
24
34
|
/* webpackChunkName: "configuration-registration-ocaml" */
|
|
35
|
+
|
|
36
|
+
/* webpackMode: "lazy" */
|
|
25
37
|
'../ocaml3.js').then(module => module)).default,
|
|
26
38
|
'pascal': async () => (await import(
|
|
27
39
|
/* webpackChunkName: "configuration-registration-pascal" */
|
|
40
|
+
|
|
41
|
+
/* webpackMode: "lazy" */
|
|
28
42
|
'../pascal2.js').then(module => module)).default,
|
|
29
43
|
'scalameta': async () => (await import(
|
|
30
44
|
/* webpackChunkName: "configuration-registration-scalameta" */
|
|
45
|
+
|
|
46
|
+
/* webpackMode: "lazy" */
|
|
31
47
|
'../scalameta.js').then(module => module)).default,
|
|
32
48
|
'cobol': async () => (await import(
|
|
33
49
|
/* webpackChunkName: "configuration-registration-cobol" */
|
|
50
|
+
|
|
51
|
+
/* webpackMode: "lazy" */
|
|
34
52
|
'../cobol2.js').then(module => module)).default,
|
|
35
53
|
'elixir': async () => (await import(
|
|
36
54
|
/* webpackChunkName: "configuration-registration-elixir" */
|
|
55
|
+
|
|
56
|
+
/* webpackMode: "lazy" */
|
|
37
57
|
'../elixir3.js').then(module => module)).default,
|
|
38
58
|
'erlang': async () => (await import(
|
|
39
59
|
/* webpackChunkName: "configuration-registration-erlang" */
|
|
60
|
+
|
|
61
|
+
/* webpackMode: "lazy" */
|
|
40
62
|
'../erlang2.js').then(module => module)).default,
|
|
41
63
|
'svlangserver': async () => (await import(
|
|
42
64
|
/* webpackChunkName: "configuration-registration-svlangserver" */
|
|
65
|
+
|
|
66
|
+
/* webpackMode: "lazy" */
|
|
43
67
|
'../svlangserver.js').then(module => module)).default,
|
|
44
68
|
'postgresql': async () => (await import(
|
|
45
69
|
/* webpackChunkName: "configuration-registration-postgresql" */
|
|
70
|
+
|
|
71
|
+
/* webpackMode: "lazy" */
|
|
46
72
|
'../postgresql.js').then(module => module)).default,
|
|
47
73
|
'java': async () => (await import(
|
|
48
74
|
/* webpackChunkName: "configuration-registration-java" */
|
|
75
|
+
|
|
76
|
+
/* webpackMode: "lazy" */
|
|
49
77
|
'../java2.js').then(module => module)).default,
|
|
50
78
|
'lua': async () => (await import(
|
|
51
79
|
/* webpackChunkName: "configuration-registration-lua" */
|
|
80
|
+
|
|
81
|
+
/* webpackMode: "lazy" */
|
|
52
82
|
'../lua2.js').then(module => module)).default,
|
|
53
83
|
'cpptools': async () => (await import(
|
|
54
84
|
/* webpackChunkName: "configuration-registration-cpptools" */
|
|
85
|
+
|
|
86
|
+
/* webpackMode: "lazy" */
|
|
55
87
|
'../cpptools.js').then(module => module)).default,
|
|
56
88
|
'omnisharp': async () => (await import(
|
|
57
89
|
/* webpackChunkName: "configuration-registration-omnisharp" */
|
|
90
|
+
|
|
91
|
+
/* webpackMode: "lazy" */
|
|
58
92
|
'../omnisharp.js').then(module => module)).default,
|
|
59
93
|
'vscode-python': async () => (await import(
|
|
60
94
|
/* webpackChunkName: "configuration-registration-vscode-python" */
|
|
95
|
+
|
|
96
|
+
/* webpackMode: "lazy" */
|
|
61
97
|
'../vscode-python.js').then(module => module)).default,
|
|
62
98
|
'vscode-R': async () => (await import(
|
|
63
99
|
/* webpackChunkName: "configuration-registration-vscode-R" */
|
|
100
|
+
|
|
101
|
+
/* webpackMode: "lazy" */
|
|
64
102
|
'../vscode-R.js').then(module => module)).default,
|
|
65
103
|
'vscode-groovy': async () => (await import(
|
|
66
104
|
/* webpackChunkName: "configuration-registration-vscode-groovy" */
|
|
105
|
+
|
|
106
|
+
/* webpackMode: "lazy" */
|
|
67
107
|
'../vscode-groovy.js').then(module => module)).default,
|
|
68
108
|
'solargraph': async () => (await import(
|
|
69
109
|
/* webpackChunkName: "configuration-registration-solargraph" */
|
|
70
|
-
|
|
110
|
+
|
|
111
|
+
/* webpackMode: "lazy" */
|
|
112
|
+
'../solargraph.js').then(module => module)).default,
|
|
113
|
+
'solidity': async () => (await import(
|
|
114
|
+
/* webpackChunkName: "configuration-registration-solidity" */
|
|
115
|
+
|
|
116
|
+
/* webpackMode: "lazy" */
|
|
117
|
+
'../solidity3.js').then(module => module)).default
|
|
71
118
|
};
|
|
72
119
|
|
|
73
120
|
const configurationRegistry = monaco.extra.Registry.as(monaco.extra.ConfigurationExtensions.Configuration);
|
|
@@ -3,7 +3,7 @@ var information_for_contributors = [
|
|
|
3
3
|
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
4
4
|
"Once accepted there, we are happy to receive an update request."
|
|
5
5
|
];
|
|
6
|
-
var version = "https://github.com/ionide/ionide-fsgrammar/commit/
|
|
6
|
+
var version = "https://github.com/ionide/ionide-fsgrammar/commit/b528e4360b4cd967aa93c2f7849e459ff91d192c";
|
|
7
7
|
var name = "fsharp";
|
|
8
8
|
var scopeName = "source.fsharp";
|
|
9
9
|
var patterns = [
|
|
@@ -536,7 +536,7 @@ var repository = {
|
|
|
536
536
|
{
|
|
537
537
|
name: "comment.block.markdown.fsharp",
|
|
538
538
|
begin: "^\\s*(\\(\\*\\*(?!\\)))((?!\\*\\)).)*$",
|
|
539
|
-
"while": "^(?!\\s*(\\*)+\\)
|
|
539
|
+
"while": "^(?!\\s*(\\*)+\\)\\s*$)",
|
|
540
540
|
beginCaptures: {
|
|
541
541
|
"1": {
|
|
542
542
|
name: "comment.block.fsharp"
|
|
@@ -556,7 +556,7 @@ var repository = {
|
|
|
556
556
|
{
|
|
557
557
|
name: "comment.block.fsharp",
|
|
558
558
|
begin: "(\\(\\*(?!\\)))",
|
|
559
|
-
end: "(
|
|
559
|
+
end: "(\\*+\\))",
|
|
560
560
|
beginCaptures: {
|
|
561
561
|
"1": {
|
|
562
562
|
name: "comment.block.fsharp"
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
import { createEditor, registerEditorOpenHandler, registerTextModelContentProvider } from './monaco';
|
|
3
|
-
import {
|
|
3
|
+
import { defineVSCodeTheme } from './theme';
|
|
4
4
|
import { updateUserConfiguration, registerConfigurations, registerDefaultConfigurations, onConfigurationChanged, getConfiguration } from './configuration';
|
|
5
5
|
import { getMonacoLanguage, loadLanguage } from './languages';
|
|
6
6
|
import { updateKeybindings, updateEditorKeybindingsMode } from './keybindings';
|
|
7
|
-
import { getThemeData } from './theme/registry';
|
|
7
|
+
import { getThemeData, getThemes } from './theme/registry';
|
|
8
8
|
import type { IVSCodeTheme } from './theme/tools';
|
|
9
9
|
export * from './tools';
|
|
10
|
-
export { monaco, createEditor,
|
|
10
|
+
export { monaco, createEditor, defineVSCodeTheme, getThemes, getThemeData, registerConfigurations, registerDefaultConfigurations, updateUserConfiguration, getConfiguration, onConfigurationChanged, updateEditorKeybindingsMode, updateKeybindings, getMonacoLanguage, registerTextModelContentProvider, registerEditorOpenHandler, loadLanguage };
|
|
11
11
|
export type { IVSCodeTheme };
|
package/dist/index.js
CHANGED
|
@@ -514,7 +514,7 @@ var semanticTokenScopes = [
|
|
|
514
514
|
"support.class.lua"
|
|
515
515
|
],
|
|
516
516
|
"function": [
|
|
517
|
-
"
|
|
517
|
+
"support.function.any-method.lua"
|
|
518
518
|
],
|
|
519
519
|
"function.declaration": [
|
|
520
520
|
"entity.name.function.lua"
|
|
@@ -534,6 +534,9 @@ var semanticTokenScopes = [
|
|
|
534
534
|
"keyword.declaration": [
|
|
535
535
|
"keyword.local.lua"
|
|
536
536
|
],
|
|
537
|
+
"keyword.documentation": [
|
|
538
|
+
"storage.type.annotation.lua"
|
|
539
|
+
],
|
|
537
540
|
"keyword.readonly": [
|
|
538
541
|
"constant.language.lua"
|
|
539
542
|
],
|
|
@@ -607,7 +610,7 @@ var semanticTokenScopes = [
|
|
|
607
610
|
"variable.other.constant.lua"
|
|
608
611
|
],
|
|
609
612
|
"variable.static": [
|
|
610
|
-
"variable.
|
|
613
|
+
"variable.global.lua"
|
|
611
614
|
]
|
|
612
615
|
}
|
|
613
616
|
},
|
package/dist/java2.js
CHANGED
|
@@ -29,7 +29,7 @@ var java = [
|
|
|
29
29
|
],
|
|
30
30
|
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m",
|
|
31
31
|
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m ` to optimize memory usage with the parallel garbage collector",
|
|
32
|
-
"scope":
|
|
32
|
+
"scope": 6
|
|
33
33
|
},
|
|
34
34
|
"java.errors.incompleteClasspath.severity": {
|
|
35
35
|
"type": [
|
|
@@ -537,7 +537,8 @@ var java = [
|
|
|
537
537
|
"JavaSE-14",
|
|
538
538
|
"JavaSE-15",
|
|
539
539
|
"JavaSE-16",
|
|
540
|
-
"JavaSE-17"
|
|
540
|
+
"JavaSE-17",
|
|
541
|
+
"JavaSE-18"
|
|
541
542
|
],
|
|
542
543
|
"description": "Java Execution Environment name. Must be unique."
|
|
543
544
|
},
|
|
@@ -562,7 +563,7 @@ var java = [
|
|
|
562
563
|
"additionalProperties": false
|
|
563
564
|
},
|
|
564
565
|
"default": [],
|
|
565
|
-
"scope":
|
|
566
|
+
"scope": 6
|
|
566
567
|
},
|
|
567
568
|
"java.server.launchMode": {
|
|
568
569
|
"type": "string",
|
|
@@ -697,6 +698,22 @@ var java = [
|
|
|
697
698
|
"default": "line",
|
|
698
699
|
"description": "Show quickfixes at the problem or line level.",
|
|
699
700
|
"scope": 3
|
|
701
|
+
},
|
|
702
|
+
"java.inlayHints.parameterNames.enabled": {
|
|
703
|
+
"type": "string",
|
|
704
|
+
"enum": [
|
|
705
|
+
"none",
|
|
706
|
+
"literals",
|
|
707
|
+
"all"
|
|
708
|
+
],
|
|
709
|
+
"enumDescriptions": [
|
|
710
|
+
"Disable parameter name hints",
|
|
711
|
+
"Enable parameter name hints only for literal arguments",
|
|
712
|
+
"Enable parameter name hints for literal and non-literal arguments"
|
|
713
|
+
],
|
|
714
|
+
"default": "literals",
|
|
715
|
+
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n \n```\n",
|
|
716
|
+
"scope": 3
|
|
700
717
|
}
|
|
701
718
|
}
|
|
702
719
|
}
|
|
@@ -149,12 +149,12 @@ var javascriptJavascript_codeSnippets = {
|
|
|
149
149
|
],
|
|
150
150
|
description: "Set Interval Function"
|
|
151
151
|
},
|
|
152
|
-
"Import
|
|
153
|
-
prefix: "import
|
|
152
|
+
"Import Statement": {
|
|
153
|
+
prefix: "import",
|
|
154
154
|
body: [
|
|
155
155
|
"import { $0 } from \"${1:module}\";"
|
|
156
156
|
],
|
|
157
|
-
description: "Import external module
|
|
157
|
+
description: "Import external module"
|
|
158
158
|
},
|
|
159
159
|
"Region Start": {
|
|
160
160
|
prefix: "#region",
|
package/dist/jsx-tags.js
CHANGED
package/dist/lua.tmLanguage.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
var information_for_contributors = [
|
|
2
|
+
"This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/lua/",
|
|
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/sumneko/lua.tmbundle/commit/bc74f9230c3f07c0ecc1bc1727ad98d9e70aff5b";
|
|
1
7
|
var name = "Lua";
|
|
2
8
|
var scopeName = "source.lua";
|
|
3
9
|
var patterns = [
|
|
@@ -163,10 +169,6 @@ var patterns = [
|
|
|
163
169
|
match: "(?<![^.]\\.|:)\\b(async)\\b(?!\\s*=(?!=))",
|
|
164
170
|
name: "entity.name.tag.lua"
|
|
165
171
|
},
|
|
166
|
-
{
|
|
167
|
-
match: "(?<![^.]\\.|:)\\b(unknown|any|boolean|number|integer|thread|table|string|userdata|lightuserdata|function|method)\\b(?!\\s*=(?!=))",
|
|
168
|
-
name: "support.type.lua"
|
|
169
|
-
},
|
|
170
172
|
{
|
|
171
173
|
match: "(?<![^.]\\.|:)\\b(coroutine\\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\\.(concat|insert|maxn|move|pack|remove|sort|unpack)|math\\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\\.(loadlib|seeall|searchpath)|debug\\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\\.(char|codes|codepoint|len|offset))\\b(?!\\s*=(?!=))",
|
|
172
174
|
name: "support.function.library.lua"
|
|
@@ -177,11 +179,15 @@ var patterns = [
|
|
|
177
179
|
},
|
|
178
180
|
{
|
|
179
181
|
match: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*(?:[({\"']|\\[\\[))",
|
|
180
|
-
name: "
|
|
182
|
+
name: "support.function.any-method.lua"
|
|
181
183
|
},
|
|
182
184
|
{
|
|
183
185
|
match: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*\\??:)",
|
|
184
|
-
name: "
|
|
186
|
+
name: "entity.name.class.lua"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
match: "(?<=[^.]\\.|:)\\b([a-zA-Z_][a-zA-Z0-9_]*)",
|
|
190
|
+
name: "entity.other.attribute.lua"
|
|
185
191
|
},
|
|
186
192
|
{
|
|
187
193
|
match: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b",
|
|
@@ -415,7 +421,7 @@ var repository = {
|
|
|
415
421
|
name: "storage.type.annotation.lua"
|
|
416
422
|
}
|
|
417
423
|
},
|
|
418
|
-
end: "(
|
|
424
|
+
end: "(?=[\\n@#])",
|
|
419
425
|
patterns: [
|
|
420
426
|
{
|
|
421
427
|
match: "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*)",
|
|
@@ -434,7 +440,7 @@ var repository = {
|
|
|
434
440
|
name: "storage.type.annotation.lua"
|
|
435
441
|
}
|
|
436
442
|
},
|
|
437
|
-
end: "(
|
|
443
|
+
end: "(?=[\\n@#])",
|
|
438
444
|
patterns: [
|
|
439
445
|
{
|
|
440
446
|
include: "#luadoc.type"
|
|
@@ -448,7 +454,7 @@ var repository = {
|
|
|
448
454
|
name: "storage.type.annotation.lua"
|
|
449
455
|
}
|
|
450
456
|
},
|
|
451
|
-
end: "(
|
|
457
|
+
end: "(?=[\\n@#])",
|
|
452
458
|
patterns: [
|
|
453
459
|
{
|
|
454
460
|
begin: "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*)",
|
|
@@ -473,7 +479,7 @@ var repository = {
|
|
|
473
479
|
name: "storage.type.annotation.lua"
|
|
474
480
|
}
|
|
475
481
|
},
|
|
476
|
-
end: "(
|
|
482
|
+
end: "(?=[\\n@#])",
|
|
477
483
|
patterns: [
|
|
478
484
|
{
|
|
479
485
|
begin: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(\\??)",
|
|
@@ -501,7 +507,7 @@ var repository = {
|
|
|
501
507
|
name: "storage.type.annotation.lua"
|
|
502
508
|
}
|
|
503
509
|
},
|
|
504
|
-
end: "(
|
|
510
|
+
end: "(?=[\\n@#])",
|
|
505
511
|
patterns: [
|
|
506
512
|
{
|
|
507
513
|
match: "\\?",
|
|
@@ -519,7 +525,7 @@ var repository = {
|
|
|
519
525
|
name: "storage.type.annotation.lua"
|
|
520
526
|
}
|
|
521
527
|
},
|
|
522
|
-
end: "(
|
|
528
|
+
end: "(?=[\\n@#])",
|
|
523
529
|
patterns: [
|
|
524
530
|
{
|
|
525
531
|
begin: "(\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b|(\\[))(\\??)",
|
|
@@ -554,7 +560,7 @@ var repository = {
|
|
|
554
560
|
name: "storage.type.annotation.lua"
|
|
555
561
|
}
|
|
556
562
|
},
|
|
557
|
-
end: "(
|
|
563
|
+
end: "(?=[\\n@#])",
|
|
558
564
|
patterns: [
|
|
559
565
|
{
|
|
560
566
|
begin: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b",
|
|
@@ -588,7 +594,7 @@ var repository = {
|
|
|
588
594
|
name: "storage.type.annotation.lua"
|
|
589
595
|
}
|
|
590
596
|
},
|
|
591
|
-
end: "(
|
|
597
|
+
end: "(?=[\\n@#])",
|
|
592
598
|
patterns: [
|
|
593
599
|
{
|
|
594
600
|
include: "#luadoc.type"
|
|
@@ -602,7 +608,7 @@ var repository = {
|
|
|
602
608
|
name: "storage.type.annotation.lua"
|
|
603
609
|
}
|
|
604
610
|
},
|
|
605
|
-
end: "(
|
|
611
|
+
end: "(?=[\\n@#])",
|
|
606
612
|
patterns: [
|
|
607
613
|
{
|
|
608
614
|
include: "#luadoc.type"
|
|
@@ -616,7 +622,7 @@ var repository = {
|
|
|
616
622
|
name: "storage.type.annotation.lua"
|
|
617
623
|
}
|
|
618
624
|
},
|
|
619
|
-
end: "(
|
|
625
|
+
end: "(?=[\\n@#])"
|
|
620
626
|
},
|
|
621
627
|
{
|
|
622
628
|
begin: "(?<=---\\s*)@meta",
|
|
@@ -625,7 +631,7 @@ var repository = {
|
|
|
625
631
|
name: "storage.type.annotation.lua"
|
|
626
632
|
}
|
|
627
633
|
},
|
|
628
|
-
end: "(
|
|
634
|
+
end: "(?=[\\n@#])"
|
|
629
635
|
},
|
|
630
636
|
{
|
|
631
637
|
begin: "(?<=---\\s*)@version",
|
|
@@ -634,7 +640,7 @@ var repository = {
|
|
|
634
640
|
name: "storage.type.annotation.lua"
|
|
635
641
|
}
|
|
636
642
|
},
|
|
637
|
-
end: "(
|
|
643
|
+
end: "(?=[\\n@#])",
|
|
638
644
|
patterns: [
|
|
639
645
|
{
|
|
640
646
|
match: "\\b(5\\.1|5\\.2|5\\.3|5\\.4|JIT)\\b",
|
|
@@ -653,7 +659,7 @@ var repository = {
|
|
|
653
659
|
name: "storage.type.annotation.lua"
|
|
654
660
|
}
|
|
655
661
|
},
|
|
656
|
-
end: "(
|
|
662
|
+
end: "(?=[\\n@#])",
|
|
657
663
|
patterns: [
|
|
658
664
|
{
|
|
659
665
|
match: "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*)",
|
|
@@ -672,7 +678,7 @@ var repository = {
|
|
|
672
678
|
name: "storage.type.annotation.lua"
|
|
673
679
|
}
|
|
674
680
|
},
|
|
675
|
-
end: "(
|
|
681
|
+
end: "(?=[\\n@#])",
|
|
676
682
|
patterns: [
|
|
677
683
|
{
|
|
678
684
|
begin: "([a-zA-Z_\\-0-9]+)[ \\t]*(:)?",
|
|
@@ -705,7 +711,7 @@ var repository = {
|
|
|
705
711
|
name: "storage.type.annotation.lua"
|
|
706
712
|
}
|
|
707
713
|
},
|
|
708
|
-
end: "(
|
|
714
|
+
end: "(?=[\\n@#])",
|
|
709
715
|
patterns: [
|
|
710
716
|
{
|
|
711
717
|
include: "#string"
|
|
@@ -723,7 +729,7 @@ var repository = {
|
|
|
723
729
|
name: "storage.type.annotation.lua"
|
|
724
730
|
}
|
|
725
731
|
},
|
|
726
|
-
end: "(?=[\\n
|
|
732
|
+
end: "(?=[\\n@#])",
|
|
727
733
|
patterns: [
|
|
728
734
|
{
|
|
729
735
|
include: "#string"
|
|
@@ -791,17 +797,13 @@ var repository = {
|
|
|
791
797
|
]
|
|
792
798
|
}
|
|
793
799
|
};
|
|
794
|
-
var information_for_contributors = [
|
|
795
|
-
"This file has been converted from https://github.com/sumneko/vscode-lua/blob/master/",
|
|
796
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
797
|
-
"Once accepted there, we are happy to receive an update request."
|
|
798
|
-
];
|
|
799
800
|
var lua_tmLanguage = {
|
|
801
|
+
information_for_contributors: information_for_contributors,
|
|
802
|
+
version: version,
|
|
800
803
|
name: name,
|
|
801
804
|
scopeName: scopeName,
|
|
802
805
|
patterns: patterns,
|
|
803
|
-
repository: repository
|
|
804
|
-
information_for_contributors: information_for_contributors
|
|
806
|
+
repository: repository
|
|
805
807
|
};
|
|
806
808
|
|
|
807
|
-
export { lua_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName };
|
|
809
|
+
export { lua_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
|
package/dist/lua2.js
CHANGED
|
@@ -286,9 +286,9 @@ var lua = [
|
|
|
286
286
|
],
|
|
287
287
|
"type": "string"
|
|
288
288
|
},
|
|
289
|
-
"duplicate-doc-
|
|
289
|
+
"duplicate-doc-alias": {
|
|
290
290
|
"default": "Any",
|
|
291
|
-
"description": "%config.diagnostics.duplicate-doc-
|
|
291
|
+
"description": "%config.diagnostics.duplicate-doc-alias%",
|
|
292
292
|
"enum": [
|
|
293
293
|
"Any",
|
|
294
294
|
"Opened",
|
|
@@ -386,9 +386,9 @@ var lua = [
|
|
|
386
386
|
],
|
|
387
387
|
"type": "string"
|
|
388
388
|
},
|
|
389
|
-
"no-
|
|
389
|
+
"no-unknown": {
|
|
390
390
|
"default": "None",
|
|
391
|
-
"description": "%config.diagnostics.no-
|
|
391
|
+
"description": "%config.diagnostics.no-unknown%",
|
|
392
392
|
"enum": [
|
|
393
393
|
"Any",
|
|
394
394
|
"Opened",
|
|
@@ -716,9 +716,9 @@ var lua = [
|
|
|
716
716
|
],
|
|
717
717
|
"type": "string"
|
|
718
718
|
},
|
|
719
|
-
"duplicate-doc-
|
|
719
|
+
"duplicate-doc-alias": {
|
|
720
720
|
"default": "Warning",
|
|
721
|
-
"description": "%config.diagnostics.duplicate-doc-
|
|
721
|
+
"description": "%config.diagnostics.duplicate-doc-alias%",
|
|
722
722
|
"enum": [
|
|
723
723
|
"Error",
|
|
724
724
|
"Warning",
|
|
@@ -826,9 +826,9 @@ var lua = [
|
|
|
826
826
|
],
|
|
827
827
|
"type": "string"
|
|
828
828
|
},
|
|
829
|
-
"no-
|
|
829
|
+
"no-unknown": {
|
|
830
830
|
"default": "Information",
|
|
831
|
-
"description": "%config.diagnostics.no-
|
|
831
|
+
"description": "%config.diagnostics.no-unknown%",
|
|
832
832
|
"enum": [
|
|
833
833
|
"Error",
|
|
834
834
|
"Warning",
|
|
@@ -992,7 +992,7 @@ var lua = [
|
|
|
992
992
|
"type": "string"
|
|
993
993
|
},
|
|
994
994
|
"unknown-diag-code": {
|
|
995
|
-
"default": "
|
|
995
|
+
"default": "Warning",
|
|
996
996
|
"description": "%config.diagnostics.unknown-diag-code%",
|
|
997
997
|
"enum": [
|
|
998
998
|
"Error",
|