@codingame/monaco-editor-wrapper 1.14.8 → 2.0.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.
- package/dist/cpp.tmLanguage.js +50 -15
- package/dist/cpptools.js +44 -3
- package/dist/dart3.js +37 -1
- package/dist/directives.tmLanguage.js +20 -0
- package/dist/erlang.js +4 -4
- package/dist/features/extensionConfigurations.js +11 -1
- package/dist/fsharp.tmLanguage.js +24 -4
- package/dist/index.js +7 -0
- package/dist/interpolations.tmLanguage.js +20 -0
- package/dist/java2.js +6 -0
- package/dist/json.js +1 -1
- package/dist/jsonc.js +1 -1
- package/dist/lua2.js +1089 -125
- package/dist/main.js +434 -333
- package/dist/markdown-svelte-css.js +37 -0
- package/dist/markdown-svelte-js.js +37 -0
- package/dist/markdown-svelte.js +59 -0
- package/dist/markdown-vue.js +59 -0
- package/dist/monaco.d.ts +1 -1
- package/dist/omnisharp.js +2 -2
- package/dist/postcss.src.yaml.js +393 -0
- package/dist/pug-svelte-dotblock.js +69 -0
- package/dist/pug-svelte-tags.js +215 -0
- package/dist/pug-svelte.js +307 -0
- package/dist/scalameta.js +5 -3
- package/dist/sql.tmLanguage.js +21 -5
- package/dist/svelte.js +118 -0
- package/dist/svelte.svelte-vscode-svelte.js +46 -0
- package/dist/svelte.svelte-vscode.js +373 -0
- package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
- package/dist/theme-defaults~light_vs.js +2 -1
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
- package/dist/typescript-language-features.js +16 -0
- package/dist/typescript.js +20 -1
- package/dist/typescriptreact.js +20 -1
- package/dist/vetur.js +407 -0
- package/dist/vscode-R.js +55 -0
- package/dist/vscode-python.js +6 -6
- package/dist/vue-generated.js +1301 -0
- package/dist/vue-html.js +99 -0
- package/dist/vue-html.tmLanguage.js +573 -0
- package/dist/vue-postcss.js +72 -0
- package/dist/vue-sugarss.js +60 -0
- package/dist/vue-sugarss2.js +396 -0
- package/dist/vue.js +106 -0
- package/package.json +54 -7
- package/stats.html +1 -1
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
- package/dist/services/TextModelService.d.ts +0 -25
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var scopeName = "markdown.svelte.codeblock.style";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:meta.style.svelte";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#svelte-script-css"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var repository = {
|
|
11
|
+
"svelte-script-css": {
|
|
12
|
+
begin: "(?<=style.*>)(?!</)",
|
|
13
|
+
end: "(?=</)",
|
|
14
|
+
name: "meta.embedded.block.svelte.style",
|
|
15
|
+
contentName: "source.css",
|
|
16
|
+
patterns: [
|
|
17
|
+
{
|
|
18
|
+
include: "source.css"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
var information_for_contributors = [
|
|
24
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
25
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
26
|
+
"Once accepted there, we are happy to receive an update request."
|
|
27
|
+
];
|
|
28
|
+
var markdownSvelteCss = {
|
|
29
|
+
scopeName: scopeName,
|
|
30
|
+
fileTypes: fileTypes,
|
|
31
|
+
injectionSelector: injectionSelector,
|
|
32
|
+
patterns: patterns,
|
|
33
|
+
repository: repository,
|
|
34
|
+
information_for_contributors: information_for_contributors
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { markdownSvelteCss as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var scopeName = "markdown.svelte.codeblock.script";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:meta.script.svelte";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#svelte-script-js"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var repository = {
|
|
11
|
+
"svelte-script-js": {
|
|
12
|
+
begin: "(?<=script.*>)(?!</)",
|
|
13
|
+
end: "(?=</)",
|
|
14
|
+
name: "meta.embedded.block.svelte.script",
|
|
15
|
+
contentName: "source.ts",
|
|
16
|
+
patterns: [
|
|
17
|
+
{
|
|
18
|
+
include: "source.ts"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
var information_for_contributors = [
|
|
24
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
25
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
26
|
+
"Once accepted there, we are happy to receive an update request."
|
|
27
|
+
];
|
|
28
|
+
var markdownSvelteJs = {
|
|
29
|
+
scopeName: scopeName,
|
|
30
|
+
fileTypes: fileTypes,
|
|
31
|
+
injectionSelector: injectionSelector,
|
|
32
|
+
patterns: patterns,
|
|
33
|
+
repository: repository,
|
|
34
|
+
information_for_contributors: information_for_contributors
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { markdownSvelteJs as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var scopeName = "markdown.svelte.codeblock";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:text.html.markdown";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#svelte-code-block"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var repository = {
|
|
11
|
+
"svelte-code-block": {
|
|
12
|
+
begin: "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(svelte|sv)(\\s+[^`~]*)?$)",
|
|
13
|
+
name: "markup.fenced_code.block.markdown",
|
|
14
|
+
end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
15
|
+
beginCaptures: {
|
|
16
|
+
"3": {
|
|
17
|
+
name: "punctuation.definition.markdown"
|
|
18
|
+
},
|
|
19
|
+
"5": {
|
|
20
|
+
name: "fenced_code.block.language"
|
|
21
|
+
},
|
|
22
|
+
"6": {
|
|
23
|
+
name: "fenced_code.block.language.attributes"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
endCaptures: {
|
|
27
|
+
"3": {
|
|
28
|
+
name: "punctuation.definition.markdown"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
patterns: [
|
|
32
|
+
{
|
|
33
|
+
begin: "(^|\\G)(\\s*)(.*)",
|
|
34
|
+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
35
|
+
contentName: "meta.embedded.block.svelte",
|
|
36
|
+
patterns: [
|
|
37
|
+
{
|
|
38
|
+
include: "source.svelte"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var information_for_contributors = [
|
|
46
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
47
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
48
|
+
"Once accepted there, we are happy to receive an update request."
|
|
49
|
+
];
|
|
50
|
+
var markdownSvelte = {
|
|
51
|
+
scopeName: scopeName,
|
|
52
|
+
fileTypes: fileTypes,
|
|
53
|
+
injectionSelector: injectionSelector,
|
|
54
|
+
patterns: patterns,
|
|
55
|
+
repository: repository,
|
|
56
|
+
information_for_contributors: information_for_contributors
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export { markdownSvelte as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var scopeName = "markdown.vue.codeblock";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:text.html.markdown";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#vue-code-block"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var repository = {
|
|
11
|
+
"vue-code-block": {
|
|
12
|
+
begin: "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(vue)(\\s+[^`~]*)?$)",
|
|
13
|
+
name: "markup.fenced_code.block.markdown",
|
|
14
|
+
end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
15
|
+
beginCaptures: {
|
|
16
|
+
"3": {
|
|
17
|
+
name: "punctuation.definition.markdown"
|
|
18
|
+
},
|
|
19
|
+
"5": {
|
|
20
|
+
name: "fenced_code.block.language"
|
|
21
|
+
},
|
|
22
|
+
"6": {
|
|
23
|
+
name: "fenced_code.block.language.attributes"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
endCaptures: {
|
|
27
|
+
"3": {
|
|
28
|
+
name: "punctuation.definition.markdown"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
patterns: [
|
|
32
|
+
{
|
|
33
|
+
begin: "(^|\\G)(\\s*)(.*)",
|
|
34
|
+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
35
|
+
contentName: "meta.embedded.block.vue",
|
|
36
|
+
patterns: [
|
|
37
|
+
{
|
|
38
|
+
include: "source.vue"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var information_for_contributors = [
|
|
46
|
+
"This file has been converted from https://github.com/vuejs/vetur/blob/master/",
|
|
47
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
48
|
+
"Once accepted there, we are happy to receive an update request."
|
|
49
|
+
];
|
|
50
|
+
var markdownVue = {
|
|
51
|
+
scopeName: scopeName,
|
|
52
|
+
fileTypes: fileTypes,
|
|
53
|
+
injectionSelector: injectionSelector,
|
|
54
|
+
patterns: patterns,
|
|
55
|
+
repository: repository,
|
|
56
|
+
information_for_contributors: information_for_contributors
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export { markdownVue as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
package/dist/monaco.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
import './languages';
|
|
3
3
|
import './theme';
|
|
4
|
-
import { EditorOpenHandler } from './services/MultiEditorStandaloneCodeEditorService';
|
|
5
4
|
import './worker';
|
|
6
5
|
import 'monaco-editor/esm/vs/editor/editor.all';
|
|
7
6
|
import 'monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp';
|
|
@@ -12,6 +11,7 @@ import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGot
|
|
|
12
11
|
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess';
|
|
13
12
|
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess';
|
|
14
13
|
import 'monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch';
|
|
14
|
+
import { EditorOpenHandler } from './tools/EditorOpenHandlerRegistry';
|
|
15
15
|
declare function createEditor(domElement: HTMLElement, options?: monaco.editor.IStandaloneEditorConstructionOptions): monaco.editor.IStandaloneCodeEditor;
|
|
16
16
|
declare function registerTextModelContentProvider(scheme: string, provider: monaco.extra.ITextModelContentProvider): monaco.IDisposable;
|
|
17
17
|
declare function registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
|
package/dist/omnisharp.js
CHANGED
|
@@ -375,12 +375,12 @@ var omnisharp = [
|
|
|
375
375
|
"omnisharp.sdkPath": {
|
|
376
376
|
"type": "string",
|
|
377
377
|
"scope": 3,
|
|
378
|
-
"description": "Specifies the path to a .NET SDK installation to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example:
|
|
378
|
+
"description": "Specifies the path to a .NET SDK installation to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: /home/username/dotnet/sdks/6.0.300."
|
|
379
379
|
},
|
|
380
380
|
"omnisharp.sdkVersion": {
|
|
381
381
|
"type": "string",
|
|
382
382
|
"scope": 3,
|
|
383
|
-
"description": "Specifies the version of the .NET SDK to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example:
|
|
383
|
+
"description": "Specifies the version of the .NET SDK to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: 6.0.300."
|
|
384
384
|
},
|
|
385
385
|
"omnisharp.sdkIncludePrereleases": {
|
|
386
386
|
"type": "boolean",
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
var name = "Svelte PostCSS";
|
|
2
|
+
var scopeName = "source.css.postcss";
|
|
3
|
+
var uuid = "90DAEA60-88AA-11E2-9E96-0800200C9A66";
|
|
4
|
+
var fileTypes = [
|
|
5
|
+
"pcss",
|
|
6
|
+
"postcss"
|
|
7
|
+
];
|
|
8
|
+
var foldingStartMarker = "/\\*|^#|^\\*|^\\b|^\\.";
|
|
9
|
+
var foldingStopMarker = "\\*/|^\\s*$";
|
|
10
|
+
var patterns = [
|
|
11
|
+
{
|
|
12
|
+
begin: "/\\*",
|
|
13
|
+
end: "\\*/",
|
|
14
|
+
name: "comment.block.postcss",
|
|
15
|
+
patterns: [
|
|
16
|
+
{
|
|
17
|
+
include: "#comment-tag"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
include: "#double-slash"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
include: "#double-quoted"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
include: "#single-quoted"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
include: "#interpolation"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
include: "#placeholder-selector"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
include: "#variable"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
include: "#variable-root-css"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
include: "#numeric"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
include: "#unit"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
include: "#flag"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
include: "#dotdotdot"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
begin: "@include",
|
|
56
|
+
end: "(?=\\n|\\(|{|;)",
|
|
57
|
+
name: "support.function.name.postcss.library",
|
|
58
|
+
captures: {
|
|
59
|
+
"0": {
|
|
60
|
+
name: "keyword.control.at-rule.css.postcss"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
begin: "@mixin|@function",
|
|
66
|
+
end: "$\\n?|(?=\\(|{)",
|
|
67
|
+
name: "support.function.name.postcss.no-completions",
|
|
68
|
+
captures: {
|
|
69
|
+
"0": {
|
|
70
|
+
name: "keyword.control.at-rule.css.postcss"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
patterns: [
|
|
74
|
+
{
|
|
75
|
+
match: "[\\w-]+",
|
|
76
|
+
name: "entity.name.function"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
match: "(?<=@import)\\s[\\w/.*-]+",
|
|
82
|
+
name: "string.quoted.double.css.postcss"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
begin: "@",
|
|
86
|
+
end: "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))|(?=;)",
|
|
87
|
+
name: "keyword.control.at-rule.css.postcss"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
begin: "#",
|
|
91
|
+
end: "$\\n?|(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>)",
|
|
92
|
+
name: "entity.other.attribute-name.id.css.postcss",
|
|
93
|
+
patterns: [
|
|
94
|
+
{
|
|
95
|
+
include: "#interpolation"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
include: "#pseudo-class"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
begin: "\\.|(?<=&)(-|_)",
|
|
104
|
+
end: "$\\n?|(?=\\s|,|;|\\(|\\)|\\[|{|>)",
|
|
105
|
+
name: "entity.other.attribute-name.class.css.postcss",
|
|
106
|
+
patterns: [
|
|
107
|
+
{
|
|
108
|
+
include: "#interpolation"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
include: "#pseudo-class"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
begin: "\\[",
|
|
117
|
+
end: "\\]",
|
|
118
|
+
name: "entity.other.attribute-selector.postcss",
|
|
119
|
+
patterns: [
|
|
120
|
+
{
|
|
121
|
+
include: "#double-quoted"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
include: "#single-quoted"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
match: "\\^|\\$|\\*|~",
|
|
128
|
+
name: "keyword.other.regex.postcss"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
match: "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+",
|
|
134
|
+
name: "entity.other.attribute-name.pseudo-class.css.postcss"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
begin: ":",
|
|
138
|
+
end: "$\\n?|(?=;|\\s\\(|and\\(|{|}|\\),)",
|
|
139
|
+
name: "meta.property-list.css.postcss",
|
|
140
|
+
patterns: [
|
|
141
|
+
{
|
|
142
|
+
include: "#double-slash"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
include: "#double-quoted"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
include: "#single-quoted"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
include: "#interpolation"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
include: "#variable"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
include: "#rgb-value"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
include: "#numeric"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
include: "#unit"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
include: "#flag"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
include: "#function"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
include: "#function-content"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
include: "#function-content-var"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
include: "#operator"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
include: "#parent-selector"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
include: "#property-value"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
include: "#rgb-value"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
include: "#function"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
include: "#function-content"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
begin: "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
|
|
199
|
+
end: "(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>|-|_)",
|
|
200
|
+
name: "entity.name.tag.css.postcss.symbol",
|
|
201
|
+
patterns: [
|
|
202
|
+
{
|
|
203
|
+
include: "#interpolation"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
include: "#pseudo-class"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
include: "#operator"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
match: "[a-z-]+((?=:|#{))",
|
|
215
|
+
name: "support.type.property-name.css.postcss"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
include: "#reserved-words"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
include: "#property-value"
|
|
222
|
+
}
|
|
223
|
+
];
|
|
224
|
+
var repository = {
|
|
225
|
+
"comment-tag": {
|
|
226
|
+
begin: "{{",
|
|
227
|
+
end: "}}",
|
|
228
|
+
name: "comment.tags.postcss",
|
|
229
|
+
patterns: [
|
|
230
|
+
{
|
|
231
|
+
match: "[\\w-]+",
|
|
232
|
+
name: "comment.tag.postcss"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
dotdotdot: {
|
|
237
|
+
match: "\\.{3}",
|
|
238
|
+
name: "variable.other"
|
|
239
|
+
},
|
|
240
|
+
"double-slash": {
|
|
241
|
+
begin: "//",
|
|
242
|
+
end: "$",
|
|
243
|
+
name: "comment.line.postcss",
|
|
244
|
+
patterns: [
|
|
245
|
+
{
|
|
246
|
+
include: "#comment-tag"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"double-quoted": {
|
|
251
|
+
begin: "\"",
|
|
252
|
+
end: "\"",
|
|
253
|
+
name: "string.quoted.double.css.postcss",
|
|
254
|
+
patterns: [
|
|
255
|
+
{
|
|
256
|
+
include: "#quoted-interpolation"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
flag: {
|
|
261
|
+
match: "!(important|default|optional|global)",
|
|
262
|
+
name: "keyword.other.important.css.postcss"
|
|
263
|
+
},
|
|
264
|
+
"function": {
|
|
265
|
+
match: "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()",
|
|
266
|
+
name: "support.function.name.postcss"
|
|
267
|
+
},
|
|
268
|
+
"function-content": {
|
|
269
|
+
match: "(?<=url\\(|format\\(|attr\\().+?(?=\\))",
|
|
270
|
+
name: "string.quoted.double.css.postcss"
|
|
271
|
+
},
|
|
272
|
+
"function-content-var": {
|
|
273
|
+
match: "(?<=var\\()[\\w-]+(?=\\))",
|
|
274
|
+
name: "variable.parameter.postcss"
|
|
275
|
+
},
|
|
276
|
+
interpolation: {
|
|
277
|
+
begin: "#{",
|
|
278
|
+
end: "}",
|
|
279
|
+
name: "support.function.interpolation.postcss",
|
|
280
|
+
patterns: [
|
|
281
|
+
{
|
|
282
|
+
include: "#variable"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
include: "#numeric"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
include: "#operator"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
include: "#unit"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
include: "#double-quoted"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
include: "#single-quoted"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
numeric: {
|
|
302
|
+
match: "(-|\\.)?[0-9]+(\\.[0-9]+)?",
|
|
303
|
+
name: "constant.numeric.css.postcss"
|
|
304
|
+
},
|
|
305
|
+
operator: {
|
|
306
|
+
match: "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~",
|
|
307
|
+
name: "keyword.operator.postcss"
|
|
308
|
+
},
|
|
309
|
+
"parent-selector": {
|
|
310
|
+
match: "&",
|
|
311
|
+
name: "entity.name.tag.css.postcss"
|
|
312
|
+
},
|
|
313
|
+
"placeholder-selector": {
|
|
314
|
+
begin: "(?<!\\d)%(?!\\d)",
|
|
315
|
+
end: "$\\n?|\\s|(?=;|{)",
|
|
316
|
+
name: "entity.other.attribute-name.placeholder-selector.postcss"
|
|
317
|
+
},
|
|
318
|
+
"property-value": {
|
|
319
|
+
match: "[\\w-]+",
|
|
320
|
+
name: "meta.property-value.css.postcss, support.constant.property-value.css.postcss"
|
|
321
|
+
},
|
|
322
|
+
"pseudo-class": {
|
|
323
|
+
match: ":[a-z:-]+",
|
|
324
|
+
name: "entity.other.attribute-name.pseudo-class.css.postcss"
|
|
325
|
+
},
|
|
326
|
+
"quoted-interpolation": {
|
|
327
|
+
begin: "#{",
|
|
328
|
+
end: "}",
|
|
329
|
+
name: "support.function.interpolation.postcss",
|
|
330
|
+
patterns: [
|
|
331
|
+
{
|
|
332
|
+
include: "#variable"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
include: "#numeric"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
include: "#operator"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
include: "#unit"
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"reserved-words": {
|
|
346
|
+
match: "\\b(false|from|in|not|null|through|to|true)\\b",
|
|
347
|
+
name: "support.type.property-name.css.postcss"
|
|
348
|
+
},
|
|
349
|
+
"rgb-value": {
|
|
350
|
+
match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
|
351
|
+
name: "constant.other.color.rgb-value.css.postcss"
|
|
352
|
+
},
|
|
353
|
+
"single-quoted": {
|
|
354
|
+
begin: "'",
|
|
355
|
+
end: "'",
|
|
356
|
+
name: "string.quoted.single.css.postcss",
|
|
357
|
+
patterns: [
|
|
358
|
+
{
|
|
359
|
+
include: "#quoted-interpolation"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
unit: {
|
|
364
|
+
match: "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)",
|
|
365
|
+
name: "keyword.other.unit.css.postcss"
|
|
366
|
+
},
|
|
367
|
+
variable: {
|
|
368
|
+
match: "\\$[\\w-]+",
|
|
369
|
+
name: "variable.parameter.postcss"
|
|
370
|
+
},
|
|
371
|
+
"variable-root-css": {
|
|
372
|
+
match: "(?<!&)--[\\w-]+",
|
|
373
|
+
name: "variable.parameter.postcss"
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
var information_for_contributors = [
|
|
377
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
378
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
379
|
+
"Once accepted there, we are happy to receive an update request."
|
|
380
|
+
];
|
|
381
|
+
var postcss_src_yaml = {
|
|
382
|
+
name: name,
|
|
383
|
+
scopeName: scopeName,
|
|
384
|
+
uuid: uuid,
|
|
385
|
+
fileTypes: fileTypes,
|
|
386
|
+
foldingStartMarker: foldingStartMarker,
|
|
387
|
+
foldingStopMarker: foldingStopMarker,
|
|
388
|
+
patterns: patterns,
|
|
389
|
+
repository: repository,
|
|
390
|
+
information_for_contributors: information_for_contributors
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export { postcss_src_yaml as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var scopeName = "svelte.pug.dotblock";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:text.block.pug -meta.embedded.ts";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#interp-object-literal"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
include: "#interp"
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
var repository = {
|
|
14
|
+
"interp-object-literal": {
|
|
15
|
+
contentName: "meta.interpolation meta.embedded.ts",
|
|
16
|
+
begin: "(?![!$#]){\\s*?(?={)",
|
|
17
|
+
beginCaptures: {
|
|
18
|
+
"0": {
|
|
19
|
+
name: "punctuation.section.interpolation.begin"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
end: "(?<=})\\s*?}",
|
|
23
|
+
endCaptures: {
|
|
24
|
+
"0": {
|
|
25
|
+
name: "punctuation.section.interpolation.end"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
patterns: [
|
|
29
|
+
{
|
|
30
|
+
include: "source.ts#object-literal"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
interp: {
|
|
35
|
+
contentName: "meta.interpolation meta.embedded.ts",
|
|
36
|
+
begin: "(?![!$#]){",
|
|
37
|
+
beginCaptures: {
|
|
38
|
+
"0": {
|
|
39
|
+
name: "punctuation.section.interpolation.begin"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
end: "}",
|
|
43
|
+
endCaptures: {
|
|
44
|
+
"0": {
|
|
45
|
+
name: "punctuation.section.interpolation.end"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
patterns: [
|
|
49
|
+
{
|
|
50
|
+
include: "source.ts"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var information_for_contributors = [
|
|
56
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
57
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
58
|
+
"Once accepted there, we are happy to receive an update request."
|
|
59
|
+
];
|
|
60
|
+
var pugSvelteDotblock = {
|
|
61
|
+
scopeName: scopeName,
|
|
62
|
+
fileTypes: fileTypes,
|
|
63
|
+
injectionSelector: injectionSelector,
|
|
64
|
+
patterns: patterns,
|
|
65
|
+
repository: repository,
|
|
66
|
+
information_for_contributors: information_for_contributors
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export { pugSvelteDotblock as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|