@codingame/monaco-editor-wrapper 1.1.5 → 1.4.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/Groovy2.js +28 -0
- package/dist/JavaScript.tmLanguage.js +22 -1
- package/dist/JavaScriptReact.tmLanguage.js +5915 -0
- package/dist/TypeScript.tmLanguage.js +22 -1
- package/dist/TypeScriptReact.tmLanguage.js +5915 -0
- package/dist/angular.js +56 -0
- package/dist/aspnetcorerazor.tmLanguage.js +65 -83
- package/dist/clojure.tmLanguage.js +11 -15
- package/dist/cobol2.js +80 -0
- package/dist/cpptools.js +2311 -0
- package/dist/csharp.tmLanguage.js +5 -5
- package/dist/css.worker.js +1 -1
- package/dist/d2.js +92 -98
- package/dist/d3.js +526 -0
- package/dist/dart3.js +966 -0
- package/dist/elixir3.js +40 -0
- package/dist/erlang2.js +92 -0
- package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
- package/dist/features/extensionConfigurations.d.ts +1 -0
- package/dist/features/extensionConfigurations.js +142 -0
- package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
- package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
- package/dist/features/typescriptContribution.d.ts +4 -0
- package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
- package/dist/fsharp.tmLanguage.js +10 -1
- package/dist/haskell2.js +16 -0
- package/dist/html.tmLanguage2.js +11 -1
- package/dist/html.worker.js +1 -1
- package/dist/java2.js +704 -0
- package/dist/json.worker.js +1 -1
- package/dist/jvm-bytecode-verbose.js +1231 -0
- package/dist/jvm-bytecode.js +565 -0
- package/dist/languages/extensions/configurationLoader.d.ts +20 -2
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/grammarLoader.d.ts +2 -92921
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/snippetLoader.d.ts +3 -5618
- package/dist/lua.tmLanguage.js +12 -2
- package/dist/lua2.js +1511 -0
- package/dist/main.js +273 -122
- package/dist/markdown.tmLanguage.js +91 -14
- package/dist/ocaml3.js +145 -0
- package/dist/omnisharp.js +522 -0
- package/dist/pascal.tmLanguage.js +2 -2
- package/dist/pascal2.js +26 -0
- package/dist/php.tmLanguage.js +161 -96
- package/dist/postgresql.js +75 -0
- package/dist/r2.js +17 -29
- package/dist/rmd.js +8 -1
- package/dist/scalameta.js +177 -0
- package/dist/sql.js +96 -2
- package/dist/sql.tmLanguage.js +532 -0
- package/dist/tasty.js +72 -0
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +998 -0
- package/dist/verilog2.js +94 -0
- package/dist/vscode-R.js +513 -0
- package/dist/vscode-groovy.js +28 -0
- package/dist/vscode-python.js +677 -0
- package/dist/worker.js +1 -1
- package/package.json +12 -11
- package/stats.html +205 -795
- package/dist/SQL.plist.js +0 -482
- package/dist/extensionConfigurations.js +0 -9475
- package/dist/html (eex).js +0 -31
- package/dist/pgsql-sql.js +0 -21
- package/dist/r.tmLanguage.js +0 -551
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var postgresql = [
|
|
2
|
+
{
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "PostgreSQL",
|
|
5
|
+
"properties": {
|
|
6
|
+
"vscode-postgres.defaultConnection": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"default": "",
|
|
9
|
+
"description": "The default connection to use",
|
|
10
|
+
"scope": 3
|
|
11
|
+
},
|
|
12
|
+
"vscode-postgres.defaultDatabase": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "The default database on the default connection to use",
|
|
16
|
+
"scope": 3
|
|
17
|
+
},
|
|
18
|
+
"vscode-postgres.showExplorer": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"default": true,
|
|
21
|
+
"description": "Show or hide the database explorer.",
|
|
22
|
+
"scope": 3
|
|
23
|
+
},
|
|
24
|
+
"vscode-postgres.prettyPrintJSONfields": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"default": false,
|
|
27
|
+
"description": "Turns on/off pretty printing of JSON fields",
|
|
28
|
+
"scope": 3
|
|
29
|
+
},
|
|
30
|
+
"vscode-postgres.setConnectionFromExplorer": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"always",
|
|
34
|
+
"ifunset",
|
|
35
|
+
"never"
|
|
36
|
+
],
|
|
37
|
+
"default": "always",
|
|
38
|
+
"description": "Controls whether selecting a database in explorer changes the current editor's connection",
|
|
39
|
+
"scope": 3
|
|
40
|
+
},
|
|
41
|
+
"vscode-postgres.tableColumnSortOrder": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"db-order",
|
|
45
|
+
"alpha",
|
|
46
|
+
"reverse-alpha"
|
|
47
|
+
],
|
|
48
|
+
"default": "db-order",
|
|
49
|
+
"description": "Controls the order of the columns in the database explorer. Default is db-order which orders the columns as the were added to the table (how postgres reports them)",
|
|
50
|
+
"scope": 3
|
|
51
|
+
},
|
|
52
|
+
"vscode-postgres.intervalFormat": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": [
|
|
55
|
+
"iso_8601",
|
|
56
|
+
"humanize",
|
|
57
|
+
"succinct"
|
|
58
|
+
],
|
|
59
|
+
"default": "iso_8601",
|
|
60
|
+
"description": "Controls the display format for `interval` columns. Default is the iso_8601 standard which does not cover milliseconds.",
|
|
61
|
+
"scope": 3
|
|
62
|
+
},
|
|
63
|
+
"vscode-postgres.virtualFolders": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"default": [
|
|
66
|
+
"functions"
|
|
67
|
+
],
|
|
68
|
+
"description": "Controls virtual folders that are shown under schema. Currently only functions are supported.",
|
|
69
|
+
"scope": 3
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
];
|
|
74
|
+
|
|
75
|
+
export { postgresql as default };
|
package/dist/r2.js
CHANGED
|
@@ -142,6 +142,17 @@ var repository = {
|
|
|
142
142
|
},
|
|
143
143
|
match: "([[:alpha:].][[:alnum:]._]*)\\s*(=)(?=[^=])"
|
|
144
144
|
},
|
|
145
|
+
{
|
|
146
|
+
captures: {
|
|
147
|
+
"1": {
|
|
148
|
+
name: "variable.parameter.r"
|
|
149
|
+
},
|
|
150
|
+
"2": {
|
|
151
|
+
name: "keyword.operator.assignment.r"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
match: "(`[^`]+`)\\s*(=)(?=[^=])"
|
|
155
|
+
},
|
|
145
156
|
{
|
|
146
157
|
match: "\\b([\\d_][[:alnum:]._]+)\\b",
|
|
147
158
|
name: "invalid.illegal.variable.other.r"
|
|
@@ -153,6 +164,10 @@ var repository = {
|
|
|
153
164
|
{
|
|
154
165
|
match: "\\b([[:alnum:]._]+)\\b",
|
|
155
166
|
name: "variable.other.r"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
match: "(`[^`]+`)",
|
|
170
|
+
name: "variable.other.r"
|
|
156
171
|
}
|
|
157
172
|
]
|
|
158
173
|
},
|
|
@@ -337,27 +352,6 @@ var repository = {
|
|
|
337
352
|
name: "constant.character.escape.r"
|
|
338
353
|
}
|
|
339
354
|
]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
begin: "`",
|
|
343
|
-
beginCaptures: {
|
|
344
|
-
"0": {
|
|
345
|
-
name: "punctuation.definition.string.begin.r"
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
end: "`",
|
|
349
|
-
endCaptures: {
|
|
350
|
-
"0": {
|
|
351
|
-
name: "punctuation.definition.string.end.r"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
name: "variable.parameter.r",
|
|
355
|
-
patterns: [
|
|
356
|
-
{
|
|
357
|
-
match: "\\\\.",
|
|
358
|
-
name: "variable.parameter.r"
|
|
359
|
-
}
|
|
360
|
-
]
|
|
361
355
|
}
|
|
362
356
|
]
|
|
363
357
|
},
|
|
@@ -492,7 +486,7 @@ var repository = {
|
|
|
492
486
|
},
|
|
493
487
|
{
|
|
494
488
|
match: "(?:[a-zA-Z._][\\w.]*|`[^`]+`)",
|
|
495
|
-
name: "variable.
|
|
489
|
+
name: "variable.other.r"
|
|
496
490
|
},
|
|
497
491
|
{
|
|
498
492
|
begin: "(?==)",
|
|
@@ -543,7 +537,7 @@ var repository = {
|
|
|
543
537
|
},
|
|
544
538
|
{
|
|
545
539
|
match: "(?:[a-zA-Z._][\\w.]*|`[^`]+`)(?=\\s[^=])",
|
|
546
|
-
name: "variable.
|
|
540
|
+
name: "variable.other.r"
|
|
547
541
|
},
|
|
548
542
|
{
|
|
549
543
|
begin: "(?==)",
|
|
@@ -558,12 +552,6 @@ var repository = {
|
|
|
558
552
|
match: ",",
|
|
559
553
|
name: "punctuation.separator.parameters.r"
|
|
560
554
|
},
|
|
561
|
-
{
|
|
562
|
-
end: "\\)",
|
|
563
|
-
endCaptures: {
|
|
564
|
-
"0": "punctuation.section.parens.end.r"
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
555
|
{
|
|
568
556
|
include: "source.r"
|
|
569
557
|
}
|
package/dist/rmd.js
CHANGED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
var scalameta = [
|
|
2
|
+
{
|
|
3
|
+
"title": "Metals",
|
|
4
|
+
"properties": {
|
|
5
|
+
"metals.serverVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"default": "0.11.1",
|
|
8
|
+
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window.\n\n**Change only if you know what you're doing**",
|
|
9
|
+
"scope": 3
|
|
10
|
+
},
|
|
11
|
+
"metals.serverProperties": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"default": [
|
|
17
|
+
"-Xmx1G"
|
|
18
|
+
],
|
|
19
|
+
"markdownDescription": "Optional list of properties to pass along to the Metals server. By default, the environment variable `JAVA_OPTS` and `.jvmopts` file are respected. Each property needs to be a separate item.\n\nExample: `-Dhttps.proxyHost=…`, `-Dhttps.proxyPort=…` or `-Dmetals.statistics=all`",
|
|
20
|
+
"scope": 3
|
|
21
|
+
},
|
|
22
|
+
"metals.ammoniteJvmProperties": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"markdownDescription": "Optional list of JVM properties to pass along to the Ammonite server. Each property needs to be a separate item.\n\nExample: `-Xmx1G` or `-Xms100M`",
|
|
28
|
+
"scope": 3
|
|
29
|
+
},
|
|
30
|
+
"metals.excludedPackages": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"default": [],
|
|
33
|
+
"markdownDescription": "List of packages you'd like to be left out of completions, symbol searches, and code actions.\n\nEx. `akka.actor.typed.javadsl` will ensure nothing in the `javadsl` package gets recommended to you.\n\nYou can find the list of default exclusions [here on the Metals website](https://scalameta.org/metals/docs/editors/new-editor.html#excluded-packages).\n\nIf you need to remove one of the defaults, you can simply include it and preface it with `--`.",
|
|
34
|
+
"scope": 3
|
|
35
|
+
},
|
|
36
|
+
"metals.showInferredType": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"markdownDescription": "When this option is enabled, for each method that have inferred types that are not explicitely specified they are displayed as additional decorations.",
|
|
39
|
+
"scope": 3
|
|
40
|
+
},
|
|
41
|
+
"metals.showImplicitArguments": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"markdownDescription": "When this option is enabled, for each method that has implicit arguments they are displayed as additional decorations.",
|
|
44
|
+
"scope": 3
|
|
45
|
+
},
|
|
46
|
+
"metals.showImplicitConversionsAndClasses": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"markdownDescription": "When this option is enabled, each implicit method and class is displayed as additional decorations at the usage site.",
|
|
49
|
+
"scope": 3
|
|
50
|
+
},
|
|
51
|
+
"metals.javaHome": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"scope": 6,
|
|
54
|
+
"markdownDescription": "Optional path to the Java home directory. Requires reloading the window.\n\nDefaults to the most recent Java version between 8 and 11 (inclusive) computed by the `locate-java-home` npm package."
|
|
55
|
+
},
|
|
56
|
+
"metals.sbtScript": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"markdownDescription": "Optional absolute path to an `sbt` executable to use for running `sbt bloopInstall`.\n\nBy default, Metals uses `java -jar sbt-launch.jar` with an embedded launcher while respecting `.jvmopts` and `.sbtopts`.\n\nUpdate this setting if your `sbt` script requires more customizations like using environment variables.",
|
|
59
|
+
"scope": 3
|
|
60
|
+
},
|
|
61
|
+
"metals.millScript": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"markdownDescription": "Optional absolute path to a `mill` executable to use for running `mill mill.contrib.Bloop/install`.\n\nBy default, Metals uses an embedded `millw` script while respecting `.mill-version` file.\n\nUpdate this setting if your `mill` script requires more customizations.",
|
|
64
|
+
"scope": 3
|
|
65
|
+
},
|
|
66
|
+
"metals.mavenScript": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"markdownDescription": "Optional absolute path to a `mvn` executable to use for running `mvn ch.epfl.scala:maven-bloop_2.10:<bloop_version>:bloopInstall`.\n\nBy default, Metals uses an embedded `mvnw` script.\n\nUpdate this setting if your `mvn` script requires more customizations.",
|
|
69
|
+
"scope": 3
|
|
70
|
+
},
|
|
71
|
+
"metals.gradleScript": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"markdownDescription": "Optional absolute path to a `gradle` executable to use for running `gradle bloopInstall`.\n\nBy default, Metals uses an embedded `gradlew` script.\n\nUpdate this setting if your `gradle` script requires more customizations.",
|
|
74
|
+
"scope": 3
|
|
75
|
+
},
|
|
76
|
+
"metals.scalafmtConfigPath": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"markdownDescription": "Optional custom path to the .scalafmt.conf file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
|
|
79
|
+
"scope": 3
|
|
80
|
+
},
|
|
81
|
+
"metals.scalafixConfigPath": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"markdownDescription": "Optional custom path to the .scalafix.conf file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
|
|
84
|
+
"scope": 3
|
|
85
|
+
},
|
|
86
|
+
"metals.bloopVersion": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"markdownDescription": "This version will be used for the Bloop build tool plugin, for any supported build tool,while importing in Metals as well as for running the embedded server",
|
|
89
|
+
"scope": 3
|
|
90
|
+
},
|
|
91
|
+
"metals.bloopSbtAlreadyInstalled": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"markdownDescription": "If true, Metals will not generate a `project/metals.sbt` file under the assumption that sbt-bloop is already manually installed in the sbt build. Build import will fail with a 'not valid command bloopInstall' error in case Bloop is not manually installed in the build when using this option.",
|
|
94
|
+
"scope": 3
|
|
95
|
+
},
|
|
96
|
+
"metals.customRepositories": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"markdownDescription": "Optional list of custom resolvers passed to Coursier when fetching metals dependencies.\n\nFor documentation on accepted values see the [Coursier documentation](https://get-coursier.io/docs/other-repositories).\n\nThe extension will pass these to Coursier using the COURSIER_REPOSITORIES environment variable after joining the custom repositories with a pipe character (|).",
|
|
102
|
+
"scope": 3
|
|
103
|
+
},
|
|
104
|
+
"metals.superMethodLensesEnabled": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"default": true,
|
|
107
|
+
"description": "Enable/disable goto super method code lens.",
|
|
108
|
+
"scope": 3
|
|
109
|
+
},
|
|
110
|
+
"metals.enableStripMarginOnTypeFormatting": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": true,
|
|
113
|
+
"markdownDescription": "When enabled, if you press the return key from the first line of a multiline string containing a pipe, it will automatically add `.stripMargin`.",
|
|
114
|
+
"scope": 3
|
|
115
|
+
},
|
|
116
|
+
"metals.enableIndentOnPaste": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"default": false,
|
|
119
|
+
"markdownDescription": "When this option is enabled, when user pastes any snippet into a Scala file, Metals will try to adjust the indentation to that of the current cursor.",
|
|
120
|
+
"scope": 3
|
|
121
|
+
},
|
|
122
|
+
"metals.testUserInterface": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"default": "Test Explorer",
|
|
125
|
+
"enum": [
|
|
126
|
+
"Test Explorer",
|
|
127
|
+
"Code Lenses"
|
|
128
|
+
],
|
|
129
|
+
"markdownDescription": "Specifies which UI should be used for tests. `Code lenses` shows virtual text above test class, just like it was previously. `Test explorer` is a new option which shows gutter icons on the left of the file in a less intrusive way. Moreover, this option comes with a new panel called `Testing` which lists all test suites in your codebase and allows you to browse tests and navigate to the file which contains them.",
|
|
130
|
+
"scope": 3
|
|
131
|
+
},
|
|
132
|
+
"metals.fallbackScalaVersion": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"default": "automatic",
|
|
135
|
+
"enum": [
|
|
136
|
+
"automatic",
|
|
137
|
+
"2.13.8",
|
|
138
|
+
"2.13.7",
|
|
139
|
+
"2.13.6",
|
|
140
|
+
"2.13.5",
|
|
141
|
+
"2.13.4",
|
|
142
|
+
"2.13.3",
|
|
143
|
+
"2.13.2",
|
|
144
|
+
"2.13.1",
|
|
145
|
+
"2.12.15",
|
|
146
|
+
"2.12.14",
|
|
147
|
+
"2.12.13",
|
|
148
|
+
"2.12.12",
|
|
149
|
+
"2.12.11",
|
|
150
|
+
"2.12.10",
|
|
151
|
+
"2.12.9",
|
|
152
|
+
"2.12.8",
|
|
153
|
+
"2.11.12",
|
|
154
|
+
"3.1.1-RC1",
|
|
155
|
+
"3.1.0",
|
|
156
|
+
"3.0.2",
|
|
157
|
+
"3.0.1",
|
|
158
|
+
"3.0.0"
|
|
159
|
+
],
|
|
160
|
+
"markdownDescription": "The Scala compiler version that is used as the default or fallback in case a file doesn't belong to any build target or the specified Scala version isn't supported by Metals.\n\nThis applies to standalone Scala files, worksheets, and Ammonite scripts.\n\n The `automatic` value means that the Scala version for these files will be inferred from the highest supported Scala version in your projects build definition",
|
|
161
|
+
"scope": 3
|
|
162
|
+
},
|
|
163
|
+
"metals.javaFormat.eclipseConfigPath": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"markdownDescription": "Optional custom path to the eclipse-formatter.xml file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
|
|
166
|
+
"scope": 3
|
|
167
|
+
},
|
|
168
|
+
"metals.javaFormat.eclipseProfile": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"markdownDescription": "Optional Eclipse format profile to use.",
|
|
171
|
+
"scope": 3
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
];
|
|
176
|
+
|
|
177
|
+
export { scalameta as default };
|
package/dist/sql.js
CHANGED
|
@@ -1,5 +1,99 @@
|
|
|
1
|
+
var comments = {
|
|
2
|
+
lineComment: "--",
|
|
3
|
+
blockComment: [
|
|
4
|
+
"/*",
|
|
5
|
+
"*/"
|
|
6
|
+
]
|
|
7
|
+
};
|
|
8
|
+
var brackets = [
|
|
9
|
+
[
|
|
10
|
+
"{",
|
|
11
|
+
"}"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"[",
|
|
15
|
+
"]"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"(",
|
|
19
|
+
")"
|
|
20
|
+
]
|
|
21
|
+
];
|
|
22
|
+
var autoClosingPairs = [
|
|
23
|
+
[
|
|
24
|
+
"{",
|
|
25
|
+
"}"
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
"[",
|
|
29
|
+
"]"
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
"(",
|
|
33
|
+
")"
|
|
34
|
+
],
|
|
35
|
+
{
|
|
36
|
+
open: "\"",
|
|
37
|
+
close: "\"",
|
|
38
|
+
notIn: [
|
|
39
|
+
"string"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
open: "N'",
|
|
44
|
+
close: "'",
|
|
45
|
+
notIn: [
|
|
46
|
+
"string",
|
|
47
|
+
"comment"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
open: "'",
|
|
52
|
+
close: "'",
|
|
53
|
+
notIn: [
|
|
54
|
+
"string",
|
|
55
|
+
"comment"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
var surroundingPairs = [
|
|
60
|
+
[
|
|
61
|
+
"{",
|
|
62
|
+
"}"
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
"[",
|
|
66
|
+
"]"
|
|
67
|
+
],
|
|
68
|
+
[
|
|
69
|
+
"(",
|
|
70
|
+
")"
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
"\"",
|
|
74
|
+
"\""
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
"'",
|
|
78
|
+
"'"
|
|
79
|
+
],
|
|
80
|
+
[
|
|
81
|
+
"`",
|
|
82
|
+
"`"
|
|
83
|
+
]
|
|
84
|
+
];
|
|
85
|
+
var folding = {
|
|
86
|
+
markers: {
|
|
87
|
+
start: "^\\s*--\\s*#region\\b",
|
|
88
|
+
end: "^\\s*--\\s*#endregion\\b"
|
|
89
|
+
}
|
|
90
|
+
};
|
|
1
91
|
var sql = {
|
|
2
|
-
|
|
92
|
+
comments: comments,
|
|
93
|
+
brackets: brackets,
|
|
94
|
+
autoClosingPairs: autoClosingPairs,
|
|
95
|
+
surroundingPairs: surroundingPairs,
|
|
96
|
+
folding: folding
|
|
3
97
|
};
|
|
4
98
|
|
|
5
|
-
export { sql as default };
|
|
99
|
+
export { autoClosingPairs, brackets, comments, sql as default, folding, surroundingPairs };
|