tm-grammars 1.27.0 → 1.27.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/README.md +6 -6
- package/grammars/csharp.json +132 -19
- package/grammars/go.json +3 -0
- package/grammars/latex.json +51 -10
- package/grammars/lua.json +28 -5
- package/grammars/php.json +5 -1
- package/index.js +35 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ import { grammars } from 'tm-grammars'
|
|
|
57
57
|
| `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/201351854c2f8397701d8cf51d923f5a7946a8a2/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/rocq-prover/vsrocq/main/LICENSE) | | | 5.11 kB |
|
|
58
58
|
| `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `cpp-macro` `regexp` `glsl` `sql` | 372.71 kB |
|
|
59
59
|
| `crystal` | | [crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/c920b0931ec5f05b78447dbff31b172c64f1d734/syntaxes/crystal.json) | [MIT](https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE) | | `html` `sql` `css` `c` `javascript` `shellscript` | 27.39 kB |
|
|
60
|
-
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
60
|
+
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 84.28 kB |
|
|
61
61
|
| `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/css/syntaxes/css.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 46.93 kB |
|
|
62
62
|
| `csv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/3bdafafa12940a75166089b64bdd80b1d3b071db/syntaxes/csv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | | 1017.00 B |
|
|
63
63
|
| `cue` | | [cue-lang/vscode-cue](https://github.com/cue-lang/vscode-cue/blob/a9ee96a7e61fb8acd39f7403144d0b6f45652987/extension/syntaxes/cue.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/cue-lang/vscode-cue/master/LICENSE) | | | 15.09 kB |
|
|
@@ -95,7 +95,7 @@ import { grammars } from 'tm-grammars'
|
|
|
95
95
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | | `c` | 3.39 kB |
|
|
96
96
|
| `gn` | | [google/gn-language-server](https://github.com/google/gn-language-server/blob/ee64196343a29893f4707e21a8ea7bca0bc135b1/vscode-gn/syntaxes/gn.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/google/gn-language-server/main/LICENSE) | | | 3.77 kB |
|
|
97
97
|
| `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | | 13.73 kB |
|
|
98
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
98
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 43.46 kB |
|
|
99
99
|
| `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | | `javascript` `typescript` `jsx` `tsx` | 16.91 kB |
|
|
100
100
|
| `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 18.17 kB |
|
|
101
101
|
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b518393296112ec3189d97a6051e06c4dd5b46d6/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | | `html` `sql` | 76.68 kB |
|
|
@@ -129,14 +129,14 @@ import { grammars } from 'tm-grammars'
|
|
|
129
129
|
| `kdl` | | [kdl-org/vscode-kdl](https://github.com/kdl-org/vscode-kdl/blob/b986286d526d3dba7f5121956a52ce300c3418f0/syntaxes/kdl.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/kdl-org/vscode-kdl/main/LICENSE) | [GitHub Sponsors: **@zkat**](https://github.com/sponsors/zkat) | | 3.34 kB |
|
|
130
130
|
| `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/626e20d5c51a4379c4c0ee293aa89e58b5232aec/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | | 8.19 kB |
|
|
131
131
|
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/ff48034975f387ba79258776e5d452bee43a6233/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | | 14.28 kB |
|
|
132
|
-
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
132
|
+
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 67.95 kB |
|
|
133
133
|
| `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/2ca585c47d447682452bd72f528feffd03ef4971/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | | 5.37 kB |
|
|
134
134
|
| `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 92.58 kB |
|
|
135
135
|
| `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/099adcf0d4beacd078a22432eaeab08d6f1e6da5/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | | `html` `css` `json` `javascript` | 16.94 kB |
|
|
136
136
|
| `llvm` | | [llvm/llvm-project](https://github.com/llvm/llvm-project/blob/224873d7acab430d29c978136418c40fa028a40d/llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml) | [NOASSERTION](https://raw.githubusercontent.com/llvm/llvm-project/main/LICENSE.TXT) | | | 4.55 kB |
|
|
137
137
|
| `log` | | [emilast/vscode-logfile-highlighter](https://github.com/emilast/vscode-logfile-highlighter/blob/396c8552ff99d0e07142fdd940d75dae212dd28c/syntaxes/log.tmLanguage) | [MIT](https://raw.githubusercontent.com/emilast/vscode-logfile-highlighter/master/LICENSE) | | | 2.52 kB |
|
|
138
138
|
| `logo` | | [textmate/logo.tmbundle](https://github.com/textmate/logo.tmbundle/blob/3205e987ed2a2aa11accdd55a7d094832441f89c/Syntaxes/Logo.tmLanguage) | | | | 2.95 kB |
|
|
139
|
-
| `lua` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
139
|
+
| `lua` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/lua/syntaxes/lua.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `c` | 14.47 kB |
|
|
140
140
|
| `luau` | | [JohnnyMorganz/Luau.tmLanguage](https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/1887144227f4e4444f1bf74fb978449e28e46cd4/Luau.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md) | | | 13.11 kB |
|
|
141
141
|
| `make` | `makefile` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/91db8ea85fee30ebb3c7a5e7939aa2a8d79811c5/extensions/make/syntaxes/make.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 8.41 kB |
|
|
142
142
|
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6d8ab9737d58fc5eaf07e2ae6553b38183a5de47/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `jsonl` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `abap` `rst` `html-derivative` | 55.03 kB |
|
|
@@ -161,7 +161,7 @@ import { grammars } from 'tm-grammars'
|
|
|
161
161
|
| `openscad` | `scad` | [tbuser/openscad.tmbundle](https://github.com/tbuser/openscad.tmbundle/blob/5962175ed355c2d58dc1991801c229809363e999/Syntaxes/OpenSCAD.tmLanguage) | [MIT](https://raw.githubusercontent.com/tbuser/openscad.tmbundle/master/LICENSE) | | | 2.58 kB |
|
|
162
162
|
| `pascal` | | [alefragnani/vscode-language-pascal](https://github.com/alefragnani/vscode-language-pascal/blob/f2d6345bd9fe83932f4d04fcacf98ce7d74b8034/syntaxes/pascal.tmLanguage) | [MIT](https://raw.githubusercontent.com/alefragnani/vscode-language-pascal/master/LICENSE.md) | [GitHub Sponsors: **@alefragnani**](https://github.com/sponsors/alefragnani) [Patreon: **alefragnani**](https://patreon.com/alefragnani) [paypal.com](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EP57F3B6FXKTU&lc=US&item_name=Alessandro%20Fragnani&item_number=vscode%20extensions¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) | | 3.89 kB |
|
|
163
163
|
| `perl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e637ff1bf7f481134849625e982ec80df9b35bc8/extensions/perl/syntaxes/perl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `xml` `css` `javascript` `sql` | 40.89 kB |
|
|
164
|
-
| `php` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
164
|
+
| `php` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/php/syntaxes/php.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `xml` `sql` `javascript` `json` `css` | 104.85 kB |
|
|
165
165
|
| `pkl` | | [apple/pkl.tmbundle](https://github.com/apple/pkl.tmbundle/blob/4ed6ca67ec7579b7a3a86b96ee89874ae825f15f/Syntaxes/pkl.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/apple/pkl.tmbundle/main/LICENSE.txt) | | | 9.32 kB |
|
|
166
166
|
| `plsql` | | [zabel-xyz/plsql-language](https://github.com/zabel-xyz/plsql-language/blob/256a6b8f04f2bdc5e60ce921646a5068957078d7/syntaxes/plsql.tmLanguage) | [MIT](https://raw.githubusercontent.com/zabel-xyz/plsql-language/master/LICENSE) | | | 7.93 kB |
|
|
167
167
|
| `po` | `pot` `potx` | [textmate/gettext.tmbundle](https://github.com/textmate/gettext.tmbundle/blob/08bb69558d82ada8d4f36b8869f871ce69014749/Syntaxes/Gettext.tmLanguage) | | | | 2.96 kB |
|
|
@@ -205,7 +205,7 @@ import { grammars } from 'tm-grammars'
|
|
|
205
205
|
| `soy` | `closure-templates` | [mthadley/language-closure-templates](https://github.com/mthadley/language-closure-templates/blob/7caf3a1fad0245c4196d3766ba0f481762fbc92e/grammars/closure-templates.json) | [MIT](https://raw.githubusercontent.com/mthadley/language-closure-templates/master/LICENSE) | | `html` | 6.40 kB |
|
|
206
206
|
| `sparql` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/a1963c610cde0eab23c44fc01ab36652565524de/stardog-rdf-grammars/syntaxes/sparql.tmLanguage.json) | | | `turtle` | 1.30 kB |
|
|
207
207
|
| `splunk` | `spl` | [arcsector/vscode-splunk-search-syntax](https://github.com/arcsector/vscode-splunk-search-syntax/blob/b1f68ff035950e6a98e0db4af1a338cb1c3c1858/syntaxes/splunk_search.tmLanguage) | [MIT](https://raw.githubusercontent.com/arcsector/vscode-splunk-search-syntax/master/LICENSE.txt) | | | 3.18 kB |
|
|
208
|
-
| `sql` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
208
|
+
| `sql` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/sql/syntaxes/sql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 22.33 kB |
|
|
209
209
|
| `ssh-config` | | [textmate/ssh-config.tmbundle](https://github.com/textmate/ssh-config.tmbundle/blob/212a0000c50e0c877303b2c4fcead539d2af2670/Syntaxes/SSH-Config.tmLanguage) | | | | 3.43 kB |
|
|
210
210
|
| `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | | `sql` | 54.40 kB |
|
|
211
211
|
| `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | [Open Collective: **stylus**](https://opencollective.com/stylus) | | 29.69 kB |
|
package/grammars/csharp.json
CHANGED
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
]
|
|
314
314
|
},
|
|
315
315
|
"array-creation-expression": {
|
|
316
|
-
"begin": "\\b(new|stackalloc)\\b\\s*(?<type_name>(?:(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*::\\s*)?(?<name_and_type_args>\\g<identifier>\\s*(?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name_and_type_args>)*|(?<tuple>\\s*\\((?:[^()]|\\g<tuple>)+\\)))(?:\\s*\\?\\s*)?(?:\\s*\\[(?:\\s*,\\s*)*]\\s*\\??\\s*)*)?\\s*(?=\\[)",
|
|
316
|
+
"begin": "\\b(new|stackalloc)\\b\\s*(?<type_name>(?:(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*::\\s*)?(?<name_and_type_args>\\g<identifier>\\s*(?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name_and_type_args>)*|(?<tuple>\\s*\\((?:[^()]|\\g<tuple>)+\\)))(?:\\s*\\*\\s*)*(?:\\s*\\?\\s*)?(?:\\s*\\[(?:\\s*,\\s*)*]\\s*\\??\\s*)*)?\\s*(?=\\[)",
|
|
317
317
|
"beginCaptures": {
|
|
318
318
|
"1": {
|
|
319
319
|
"name": "keyword.operator.expression.$1.cs"
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
]
|
|
442
442
|
},
|
|
443
443
|
"attribute-section": {
|
|
444
|
-
"begin": "(\\[)(assembly|module|field|event|method|param|property|return|type)?(:)?",
|
|
444
|
+
"begin": "(\\[)(assembly|module|field|event|method|param|property|return|typevar|type)?(:)?",
|
|
445
445
|
"beginCaptures": {
|
|
446
446
|
"1": {
|
|
447
447
|
"name": "punctuation.squarebracket.open.cs"
|
|
@@ -495,6 +495,33 @@
|
|
|
495
495
|
}
|
|
496
496
|
]
|
|
497
497
|
},
|
|
498
|
+
"base-class-constructor-call": {
|
|
499
|
+
"begin": "(?:(@?[_[:alpha:]][_[:alnum:]]*)\\s*(\\.))*(@?[_[:alpha:]][_[:alnum:]]*)\\s*(<(?<type_args>[^()<>]|\\((?:[^()<>]|<[^()<>]*>|\\([^()<>]*\\))*\\)|<\\g<type_args>*>)*>\\s*)?(?=\\()",
|
|
500
|
+
"beginCaptures": {
|
|
501
|
+
"1": {
|
|
502
|
+
"name": "entity.name.type.cs"
|
|
503
|
+
},
|
|
504
|
+
"2": {
|
|
505
|
+
"name": "punctuation.accessor.cs"
|
|
506
|
+
},
|
|
507
|
+
"3": {
|
|
508
|
+
"name": "entity.name.type.cs"
|
|
509
|
+
},
|
|
510
|
+
"4": {
|
|
511
|
+
"patterns": [
|
|
512
|
+
{
|
|
513
|
+
"include": "#type-arguments"
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"end": "(?<=\\))",
|
|
519
|
+
"patterns": [
|
|
520
|
+
{
|
|
521
|
+
"include": "#argument-list"
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
},
|
|
498
525
|
"base-types": {
|
|
499
526
|
"begin": ":",
|
|
500
527
|
"beginCaptures": {
|
|
@@ -504,6 +531,9 @@
|
|
|
504
531
|
},
|
|
505
532
|
"end": "(?=\\{|where|;)",
|
|
506
533
|
"patterns": [
|
|
534
|
+
{
|
|
535
|
+
"include": "#base-class-constructor-call"
|
|
536
|
+
},
|
|
507
537
|
{
|
|
508
538
|
"include": "#type"
|
|
509
539
|
},
|
|
@@ -870,9 +900,15 @@
|
|
|
870
900
|
{
|
|
871
901
|
"include": "#type-declarations"
|
|
872
902
|
},
|
|
903
|
+
{
|
|
904
|
+
"include": "#constructor-declaration"
|
|
905
|
+
},
|
|
873
906
|
{
|
|
874
907
|
"include": "#property-declaration"
|
|
875
908
|
},
|
|
909
|
+
{
|
|
910
|
+
"include": "#fixed-size-buffer-declaration"
|
|
911
|
+
},
|
|
876
912
|
{
|
|
877
913
|
"include": "#field-declaration"
|
|
878
914
|
},
|
|
@@ -885,9 +921,6 @@
|
|
|
885
921
|
{
|
|
886
922
|
"include": "#variable-initializer"
|
|
887
923
|
},
|
|
888
|
-
{
|
|
889
|
-
"include": "#constructor-declaration"
|
|
890
|
-
},
|
|
891
924
|
{
|
|
892
925
|
"include": "#destructor-declaration"
|
|
893
926
|
},
|
|
@@ -1042,17 +1075,14 @@
|
|
|
1042
1075
|
]
|
|
1043
1076
|
},
|
|
1044
1077
|
"constructor-declaration": {
|
|
1045
|
-
"begin": "(
|
|
1078
|
+
"begin": "(@?[_[:alpha:]][_[:alnum:]]*)\\s*(?=\\(|$)",
|
|
1079
|
+
"beginCaptures": {
|
|
1080
|
+
"1": {
|
|
1081
|
+
"name": "entity.name.function.cs"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1046
1084
|
"end": "(?<=})|(?=;)",
|
|
1047
1085
|
"patterns": [
|
|
1048
|
-
{
|
|
1049
|
-
"captures": {
|
|
1050
|
-
"1": {
|
|
1051
|
-
"name": "entity.name.function.cs"
|
|
1052
|
-
}
|
|
1053
|
-
},
|
|
1054
|
-
"match": "(@?[_[:alpha:]][_[:alnum:]]*)\\b"
|
|
1055
|
-
},
|
|
1056
1086
|
{
|
|
1057
1087
|
"begin": "(:)",
|
|
1058
1088
|
"beginCaptures": {
|
|
@@ -1696,6 +1726,12 @@
|
|
|
1696
1726
|
{
|
|
1697
1727
|
"include": "#is-expression"
|
|
1698
1728
|
},
|
|
1729
|
+
{
|
|
1730
|
+
"include": "#boolean-literal"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"include": "#null-literal"
|
|
1734
|
+
},
|
|
1699
1735
|
{
|
|
1700
1736
|
"include": "#anonymous-method-expression"
|
|
1701
1737
|
},
|
|
@@ -1889,6 +1925,33 @@
|
|
|
1889
1925
|
}
|
|
1890
1926
|
]
|
|
1891
1927
|
},
|
|
1928
|
+
"fixed-size-buffer-declaration": {
|
|
1929
|
+
"begin": "\\b(fixed)\\b\\s+(?<type_name>(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*::\\s*)?(?<name_and_type_args>\\g<identifier>\\s*(?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name_and_type_args>)*)\\s+(\\g<identifier>)\\s*(?=\\[)",
|
|
1930
|
+
"beginCaptures": {
|
|
1931
|
+
"1": {
|
|
1932
|
+
"name": "storage.modifier.fixed.cs"
|
|
1933
|
+
},
|
|
1934
|
+
"2": {
|
|
1935
|
+
"patterns": [
|
|
1936
|
+
{
|
|
1937
|
+
"include": "#type"
|
|
1938
|
+
}
|
|
1939
|
+
]
|
|
1940
|
+
},
|
|
1941
|
+
"6": {
|
|
1942
|
+
"name": "entity.name.variable.field.cs"
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
"end": "(?=;)",
|
|
1946
|
+
"patterns": [
|
|
1947
|
+
{
|
|
1948
|
+
"include": "#bracketed-argument-list"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"include": "#comment"
|
|
1952
|
+
}
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1892
1955
|
"fixed-statement": {
|
|
1893
1956
|
"begin": "\\b(fixed)\\b",
|
|
1894
1957
|
"beginCaptures": {
|
|
@@ -1957,6 +2020,15 @@
|
|
|
1957
2020
|
},
|
|
1958
2021
|
{
|
|
1959
2022
|
"include": "#local-variable-declaration"
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"include": "#local-tuple-var-deconstruction"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"include": "#tuple-deconstruction-assignment"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"include": "#expression"
|
|
1960
2032
|
}
|
|
1961
2033
|
]
|
|
1962
2034
|
},
|
|
@@ -2726,6 +2798,9 @@
|
|
|
2726
2798
|
},
|
|
2727
2799
|
{
|
|
2728
2800
|
"include": "#local-tuple-var-deconstruction"
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"include": "#local-tuple-declaration-deconstruction"
|
|
2729
2804
|
}
|
|
2730
2805
|
]
|
|
2731
2806
|
},
|
|
@@ -2776,6 +2851,18 @@
|
|
|
2776
2851
|
}
|
|
2777
2852
|
]
|
|
2778
2853
|
},
|
|
2854
|
+
"local-tuple-declaration-deconstruction": {
|
|
2855
|
+
"captures": {
|
|
2856
|
+
"1": {
|
|
2857
|
+
"patterns": [
|
|
2858
|
+
{
|
|
2859
|
+
"include": "#tuple-declaration-deconstruction-element-list"
|
|
2860
|
+
}
|
|
2861
|
+
]
|
|
2862
|
+
}
|
|
2863
|
+
},
|
|
2864
|
+
"match": "(?<tuple>\\((?:[^()]|\\g<tuple>)+\\))\\s*(?!=[=>])(?==)"
|
|
2865
|
+
},
|
|
2779
2866
|
"local-tuple-var-deconstruction": {
|
|
2780
2867
|
"begin": "\\b(var)\\b\\s*(?<tuple>\\((?:[^()]|\\g<tuple>)+\\))\\s*(?=[);=])",
|
|
2781
2868
|
"beginCaptures": {
|
|
@@ -2801,7 +2888,7 @@
|
|
|
2801
2888
|
]
|
|
2802
2889
|
},
|
|
2803
2890
|
"local-variable-declaration": {
|
|
2804
|
-
"begin": "(?:(?:\\b(ref)\\s+(?:\\b(readonly)\\s+)?)?\\b(var)\\b|(?<type_name>(?:ref\\s+(?:readonly\\s+)?)?(?:(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*::\\s*)?(?<name_and_type_args>\\g<identifier>\\s*(?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name_and_type_args>)*|(?<tuple>\\s*\\((?:[^()]|\\g<tuple>)+\\)))(?:\\s*
|
|
2891
|
+
"begin": "(?:(?:\\b(ref)\\s+(?:\\b(readonly)\\s+)?)?\\b(var)\\b|(?<type_name>(?:ref\\s+(?:readonly\\s+)?)?(?:(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*::\\s*)?(?<name_and_type_args>\\g<identifier>\\s*(?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name_and_type_args>)*|(?<tuple>\\s*\\((?:[^()]|\\g<tuple>)+\\)))(?:\\s*\\*\\s*)*(?:\\s*\\?\\s*)?(?:\\s*\\[(?:\\s*,\\s*)*]\\s*\\??\\s*)*))\\s+(\\g<identifier>)\\s*(?!=>)(?=[),;=])",
|
|
2805
2892
|
"beginCaptures": {
|
|
2806
2893
|
"1": {
|
|
2807
2894
|
"name": "storage.modifier.ref.cs"
|
|
@@ -3469,7 +3556,7 @@
|
|
|
3469
3556
|
"name": "meta.preprocessor.cs",
|
|
3470
3557
|
"patterns": [
|
|
3471
3558
|
{
|
|
3472
|
-
"include": "#comment"
|
|
3559
|
+
"include": "#preprocessor-comment"
|
|
3473
3560
|
},
|
|
3474
3561
|
{
|
|
3475
3562
|
"include": "#preprocessor-define-or-undef"
|
|
@@ -3632,6 +3719,29 @@
|
|
|
3632
3719
|
},
|
|
3633
3720
|
"match": "\\b(sdk)\\b\\s*([_[:alpha:]][._[:alnum:]]*)?(@)?(.*)?\\s*"
|
|
3634
3721
|
},
|
|
3722
|
+
"preprocessor-comment": {
|
|
3723
|
+
"patterns": [
|
|
3724
|
+
{
|
|
3725
|
+
"captures": {
|
|
3726
|
+
"1": {
|
|
3727
|
+
"name": "punctuation.definition.comment.cs"
|
|
3728
|
+
}
|
|
3729
|
+
},
|
|
3730
|
+
"match": "(//).*(?=$)",
|
|
3731
|
+
"name": "comment.line.double-slash.cs"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
"begin": "/\\*",
|
|
3735
|
+
"captures": {
|
|
3736
|
+
"0": {
|
|
3737
|
+
"name": "punctuation.definition.comment.cs"
|
|
3738
|
+
}
|
|
3739
|
+
},
|
|
3740
|
+
"end": "\\*/",
|
|
3741
|
+
"name": "comment.block.cs"
|
|
3742
|
+
}
|
|
3743
|
+
]
|
|
3744
|
+
},
|
|
3635
3745
|
"preprocessor-define-or-undef": {
|
|
3636
3746
|
"captures": {
|
|
3637
3747
|
"1": {
|
|
@@ -3726,7 +3836,7 @@
|
|
|
3726
3836
|
"end": "(?=$)",
|
|
3727
3837
|
"patterns": [
|
|
3728
3838
|
{
|
|
3729
|
-
"include": "#comment"
|
|
3839
|
+
"include": "#preprocessor-comment"
|
|
3730
3840
|
},
|
|
3731
3841
|
{
|
|
3732
3842
|
"include": "#preprocessor-expression"
|
|
@@ -3911,10 +4021,13 @@
|
|
|
3911
4021
|
"name": "storage.modifier.$1.cs"
|
|
3912
4022
|
},
|
|
3913
4023
|
{
|
|
3914
|
-
"begin": "\\b(get)\\b\\s*(?=[;{]|=>|//|/\\*|$)",
|
|
4024
|
+
"begin": "(?:\\b(readonly)\\s+)?\\b(get)\\b\\s*(?=[;{]|=>|//|/\\*|$)",
|
|
3915
4025
|
"beginCaptures": {
|
|
3916
4026
|
"1": {
|
|
3917
|
-
"name": "storage.
|
|
4027
|
+
"name": "storage.modifier.readonly.cs"
|
|
4028
|
+
},
|
|
4029
|
+
"2": {
|
|
4030
|
+
"name": "storage.type.accessor.get.cs"
|
|
3918
4031
|
}
|
|
3919
4032
|
},
|
|
3920
4033
|
"end": "(?<=[;}])|(?=})",
|
package/grammars/go.json
CHANGED
package/grammars/latex.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"all-balanced-env": {
|
|
75
75
|
"patterns": [
|
|
76
76
|
{
|
|
77
|
-
"begin": "\\s*((\\\\)begin)(\\{)((?:\\+?array|equation|(?:IEEE|sub)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered
|
|
77
|
+
"begin": "\\s*((\\\\)begin)(\\{)((?:\\+?array|equation|(?:IEEE|sub)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|(?:[+dr]|dr)?cases|(?:display)?math|\\+?[A-Za-z]*matrix|[BVbpv]?NiceMatrix|[BVbpv]?NiceArray|(?:arg)?m(?:ini|axi))[!*]?)(})(\\s*\\n)?",
|
|
78
78
|
"captures": {
|
|
79
79
|
"1": {
|
|
80
80
|
"name": "support.function.be.latex"
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
},
|
|
324
324
|
"patterns": [
|
|
325
325
|
{
|
|
326
|
-
"include": "
|
|
326
|
+
"include": "#braces"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"include": "$self"
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
},
|
|
360
360
|
"patterns": [
|
|
361
361
|
{
|
|
362
|
-
"include": "
|
|
362
|
+
"include": "#braces"
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
"include": "$self"
|
|
@@ -437,6 +437,47 @@
|
|
|
437
437
|
}
|
|
438
438
|
]
|
|
439
439
|
},
|
|
440
|
+
"braces": {
|
|
441
|
+
"begin": "(?<!\\\\)\\{",
|
|
442
|
+
"beginCaptures": {
|
|
443
|
+
"0": {
|
|
444
|
+
"name": "punctuation.group.begin.latex"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"end": "(?<!\\\\)}",
|
|
448
|
+
"endCaptures": {
|
|
449
|
+
"0": {
|
|
450
|
+
"name": "punctuation.group.end.latex"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"name": "meta.group.braces.latex",
|
|
454
|
+
"patterns": [
|
|
455
|
+
{
|
|
456
|
+
"include": "#text-font-macro"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"include": "#citation-macro"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"include": "#references-macro"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"include": "#label-macro"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"include": "#macro-with-args-tokenizer"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"include": "#all-other-macro"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"include": "text.tex"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"include": "#braces"
|
|
478
|
+
}
|
|
479
|
+
]
|
|
480
|
+
},
|
|
440
481
|
"citation-macro": {
|
|
441
482
|
"begin": "((\\\\)(?:[Aa]uto|foot|full|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^)]*\\)){0,2}(?:\\[[^]]*]){0,2}\\{[-.:_\\p{Alphabetic}\\p{N}]*})*)(<[^]<>]*>)?((?:\\[[^]]*])*)(\\{)",
|
|
442
483
|
"captures": {
|
|
@@ -3680,7 +3721,7 @@
|
|
|
3680
3721
|
"include": "#column-specials"
|
|
3681
3722
|
},
|
|
3682
3723
|
{
|
|
3683
|
-
"include": "
|
|
3724
|
+
"include": "#braces"
|
|
3684
3725
|
},
|
|
3685
3726
|
{
|
|
3686
3727
|
"include": "text.tex"
|
|
@@ -3813,7 +3854,7 @@
|
|
|
3813
3854
|
"include": "#column-specials"
|
|
3814
3855
|
},
|
|
3815
3856
|
{
|
|
3816
|
-
"include": "
|
|
3857
|
+
"include": "#braces"
|
|
3817
3858
|
},
|
|
3818
3859
|
{
|
|
3819
3860
|
"include": "text.tex"
|
|
@@ -4023,7 +4064,7 @@
|
|
|
4023
4064
|
"name": "meta.function.section.$3.latex",
|
|
4024
4065
|
"patterns": [
|
|
4025
4066
|
{
|
|
4026
|
-
"include": "
|
|
4067
|
+
"include": "#braces"
|
|
4027
4068
|
},
|
|
4028
4069
|
{
|
|
4029
4070
|
"include": "$self"
|
|
@@ -4137,7 +4178,7 @@
|
|
|
4137
4178
|
"name": "meta.function.emph.latex",
|
|
4138
4179
|
"patterns": [
|
|
4139
4180
|
{
|
|
4140
|
-
"include": "
|
|
4181
|
+
"include": "#braces"
|
|
4141
4182
|
},
|
|
4142
4183
|
{
|
|
4143
4184
|
"include": "$self"
|
|
@@ -4167,7 +4208,7 @@
|
|
|
4167
4208
|
"name": "meta.function.textit.latex",
|
|
4168
4209
|
"patterns": [
|
|
4169
4210
|
{
|
|
4170
|
-
"include": "
|
|
4211
|
+
"include": "#braces"
|
|
4171
4212
|
},
|
|
4172
4213
|
{
|
|
4173
4214
|
"include": "$self"
|
|
@@ -4197,7 +4238,7 @@
|
|
|
4197
4238
|
"name": "meta.function.textbf.latex",
|
|
4198
4239
|
"patterns": [
|
|
4199
4240
|
{
|
|
4200
|
-
"include": "
|
|
4241
|
+
"include": "#braces"
|
|
4201
4242
|
},
|
|
4202
4243
|
{
|
|
4203
4244
|
"include": "$self"
|
|
@@ -4227,7 +4268,7 @@
|
|
|
4227
4268
|
"name": "meta.function.texttt.latex",
|
|
4228
4269
|
"patterns": [
|
|
4229
4270
|
{
|
|
4230
|
-
"include": "
|
|
4271
|
+
"include": "#braces"
|
|
4231
4272
|
},
|
|
4232
4273
|
{
|
|
4233
4274
|
"include": "$self"
|
package/grammars/lua.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"name": "punctuation.definition.parameters.begin.lua"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"end": "(\\))|(?=[-\\]\"'
|
|
28
|
+
"end": "(\\))|(?=[-\\]\"'\\[{}])|(?<!\\.)\\.(?!\\.)",
|
|
29
29
|
"endCaptures": {
|
|
30
30
|
"1": {
|
|
31
31
|
"name": "punctuation.definition.parameters.finish.lua"
|
|
@@ -36,6 +36,17 @@
|
|
|
36
36
|
{
|
|
37
37
|
"include": "#comment"
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
"captures": {
|
|
41
|
+
"1": {
|
|
42
|
+
"name": "constant.language.lua"
|
|
43
|
+
},
|
|
44
|
+
"2": {
|
|
45
|
+
"name": "variable.parameter.function.lua"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"match": "(\\.{3})\\s*([A-Z_a-z][0-9A-Z_a-z]*)"
|
|
49
|
+
},
|
|
39
50
|
{
|
|
40
51
|
"match": "[A-Z_a-z][0-9A-Z_a-z]*",
|
|
41
52
|
"name": "variable.parameter.function.lua"
|
|
@@ -152,6 +163,14 @@
|
|
|
152
163
|
"match": "\\b(local)\\b",
|
|
153
164
|
"name": "keyword.local.lua"
|
|
154
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"captures": {
|
|
168
|
+
"1": {
|
|
169
|
+
"name": "keyword.global.lua"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"match": "^\\s*(global)\\b(?!\\s*=)"
|
|
173
|
+
},
|
|
155
174
|
{
|
|
156
175
|
"match": "\\b(function)\\b(?![,:])",
|
|
157
176
|
"name": "keyword.control.lua"
|
|
@@ -173,13 +192,17 @@
|
|
|
173
192
|
"name": "entity.name.tag.lua"
|
|
174
193
|
},
|
|
175
194
|
{
|
|
176
|
-
"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*=(?!=))",
|
|
195
|
+
"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|create|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*=(?!=))",
|
|
177
196
|
"name": "support.function.library.lua"
|
|
178
197
|
},
|
|
179
198
|
{
|
|
180
|
-
"match": "\\b(
|
|
199
|
+
"match": "\\b(\\|\\||&&|!)\\b",
|
|
181
200
|
"name": "keyword.operator.lua"
|
|
182
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"match": "\\b(and|or|not)\\b",
|
|
204
|
+
"name": "keyword.operator.logical.lua"
|
|
205
|
+
},
|
|
183
206
|
{
|
|
184
207
|
"match": "\\b([A-Z_a-z][0-9A-Z_a-z]*)\\b(?=\\s*(?:[\"'({]|\\[\\[))",
|
|
185
208
|
"name": "support.function.any-method.lua"
|
|
@@ -766,11 +789,11 @@
|
|
|
766
789
|
"end": "(?=[#\\s])",
|
|
767
790
|
"patterns": [
|
|
768
791
|
{
|
|
769
|
-
"match": "[()
|
|
792
|
+
"match": "[](),:<>?\\[][\\t ]*",
|
|
770
793
|
"name": "keyword.operator.lua"
|
|
771
794
|
},
|
|
772
795
|
{
|
|
773
|
-
"match": "([A-Z_a-z][
|
|
796
|
+
"match": "([A-Z_a-z][-*.0-9A-Z_a-z]*)(?<!,)[\\t ]*(?=\\??:)",
|
|
774
797
|
"name": "entity.name.variable.lua"
|
|
775
798
|
},
|
|
776
799
|
{
|
package/grammars/php.json
CHANGED
|
@@ -977,9 +977,13 @@
|
|
|
977
977
|
"name": "keyword.operator.arithmetic.php"
|
|
978
978
|
},
|
|
979
979
|
{
|
|
980
|
-
"match": "(?i)(!|&&|\\|\\|)|\\b(and|or|xor
|
|
980
|
+
"match": "(?i)(!|&&|\\|\\|)|\\b(and|or|xor)\\b",
|
|
981
981
|
"name": "keyword.operator.logical.php"
|
|
982
982
|
},
|
|
983
|
+
{
|
|
984
|
+
"match": "(?i)\\bas\\b",
|
|
985
|
+
"name": "keyword.operator.as.php"
|
|
986
|
+
},
|
|
983
987
|
{
|
|
984
988
|
"include": "#function-call"
|
|
985
989
|
},
|
package/index.js
CHANGED
|
@@ -805,22 +805,22 @@ export const grammars = [
|
|
|
805
805
|
'c#',
|
|
806
806
|
'cs',
|
|
807
807
|
],
|
|
808
|
-
byteSize:
|
|
808
|
+
byteSize: 86298,
|
|
809
809
|
categories: [
|
|
810
810
|
'general',
|
|
811
811
|
],
|
|
812
812
|
displayName: 'C#',
|
|
813
813
|
funding: [
|
|
814
814
|
],
|
|
815
|
-
hash: '
|
|
816
|
-
lastUpdate: '
|
|
815
|
+
hash: 'HaOZcnAIN6F2JMpSTtIZsbQWODJLOxxEd26NuWiGG4g',
|
|
816
|
+
lastUpdate: '2026-01-08T16:24:04Z',
|
|
817
817
|
license: 'MIT',
|
|
818
818
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
819
819
|
name: 'csharp',
|
|
820
820
|
scopeName: 'source.cs',
|
|
821
|
-
sha: '
|
|
822
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
823
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/csharp/syntaxes/csharp.tmLanguage.json?ref=
|
|
821
|
+
sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
822
|
+
source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/csharp/syntaxes/csharp.tmLanguage.json',
|
|
823
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/csharp/syntaxes/csharp.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
824
824
|
},
|
|
825
825
|
{
|
|
826
826
|
byteSize: 48053,
|
|
@@ -1536,22 +1536,22 @@ export const grammars = [
|
|
|
1536
1536
|
sourceApi: 'https://api.github.com/repos/MarioSchwalbe/vscode-gnuplot/contents/syntaxes/gnuplot.tmLanguage?ref=c62c1a61c9b6b4658b43d76c397dc2ad43523b6a',
|
|
1537
1537
|
},
|
|
1538
1538
|
{
|
|
1539
|
-
byteSize:
|
|
1539
|
+
byteSize: 44508,
|
|
1540
1540
|
categories: [
|
|
1541
1541
|
'general',
|
|
1542
1542
|
],
|
|
1543
1543
|
displayName: 'Go',
|
|
1544
1544
|
funding: [
|
|
1545
1545
|
],
|
|
1546
|
-
hash: '
|
|
1547
|
-
lastUpdate: '
|
|
1546
|
+
hash: 'BWkqe8YLn7R00ywSgzr6JC28-COlIKvUmwRSIF1RHUk',
|
|
1547
|
+
lastUpdate: '2026-01-08T16:24:04Z',
|
|
1548
1548
|
license: 'MIT',
|
|
1549
1549
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1550
1550
|
name: 'go',
|
|
1551
1551
|
scopeName: 'source.go',
|
|
1552
|
-
sha: '
|
|
1553
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1554
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/go/syntaxes/go.tmLanguage.json?ref=
|
|
1552
|
+
sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
1553
|
+
source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/go/syntaxes/go.tmLanguage.json',
|
|
1554
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/go/syntaxes/go.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
1555
1555
|
},
|
|
1556
1556
|
{
|
|
1557
1557
|
aliases: [
|
|
@@ -2249,7 +2249,7 @@ export const grammars = [
|
|
|
2249
2249
|
sourceApi: 'https://api.github.com/repos/rosshamish/kuskus/contents/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json?ref=ff48034975f387ba79258776e5d452bee43a6233',
|
|
2250
2250
|
},
|
|
2251
2251
|
{
|
|
2252
|
-
byteSize:
|
|
2252
|
+
byteSize: 69577,
|
|
2253
2253
|
categories: [
|
|
2254
2254
|
'markup',
|
|
2255
2255
|
],
|
|
@@ -2275,15 +2275,15 @@ export const grammars = [
|
|
|
2275
2275
|
],
|
|
2276
2276
|
funding: [
|
|
2277
2277
|
],
|
|
2278
|
-
hash: '
|
|
2279
|
-
lastUpdate: '
|
|
2278
|
+
hash: 'rXU1aLyRVLYt-KojT3JTq157SVVK2HPu5Pul4ZZfruo',
|
|
2279
|
+
lastUpdate: '2026-01-08T16:24:04Z',
|
|
2280
2280
|
license: 'MIT',
|
|
2281
2281
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2282
2282
|
name: 'latex',
|
|
2283
2283
|
scopeName: 'text.tex.latex',
|
|
2284
|
-
sha: '
|
|
2285
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2286
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/LaTeX.tmLanguage.json?ref=
|
|
2284
|
+
sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
2285
|
+
source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
|
|
2286
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/LaTeX.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
2287
2287
|
},
|
|
2288
2288
|
{
|
|
2289
2289
|
aliases: [
|
|
@@ -2395,7 +2395,7 @@ export const grammars = [
|
|
|
2395
2395
|
sourceApi: 'https://api.github.com/repos/textmate/logo.tmbundle/contents/Syntaxes/Logo.tmLanguage?ref=3205e987ed2a2aa11accdd55a7d094832441f89c',
|
|
2396
2396
|
},
|
|
2397
2397
|
{
|
|
2398
|
-
byteSize:
|
|
2398
|
+
byteSize: 14819,
|
|
2399
2399
|
categories: [
|
|
2400
2400
|
'scripting',
|
|
2401
2401
|
],
|
|
@@ -2405,15 +2405,15 @@ export const grammars = [
|
|
|
2405
2405
|
],
|
|
2406
2406
|
funding: [
|
|
2407
2407
|
],
|
|
2408
|
-
hash: '
|
|
2409
|
-
lastUpdate: '
|
|
2408
|
+
hash: 'KpG3vzjjHgeDe6H7HxL1kbhFYrYlxF_uFJRwuF29jLI',
|
|
2409
|
+
lastUpdate: '2026-01-08T16:24:04Z',
|
|
2410
2410
|
license: 'MIT',
|
|
2411
2411
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2412
2412
|
name: 'lua',
|
|
2413
2413
|
scopeName: 'source.lua',
|
|
2414
|
-
sha: '
|
|
2415
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2416
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/lua/syntaxes/lua.tmLanguage.json?ref=
|
|
2414
|
+
sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
2415
|
+
source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/lua/syntaxes/lua.tmLanguage.json',
|
|
2416
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/lua/syntaxes/lua.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
2417
2417
|
},
|
|
2418
2418
|
{
|
|
2419
2419
|
byteSize: 13420,
|
|
@@ -3006,7 +3006,7 @@ export const grammars = [
|
|
|
3006
3006
|
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/perl/syntaxes/perl.tmLanguage.json?ref=e637ff1bf7f481134849625e982ec80df9b35bc8',
|
|
3007
3007
|
},
|
|
3008
3008
|
{
|
|
3009
|
-
byteSize:
|
|
3009
|
+
byteSize: 107369,
|
|
3010
3010
|
categories: [
|
|
3011
3011
|
'general',
|
|
3012
3012
|
'web',
|
|
@@ -3022,15 +3022,15 @@ export const grammars = [
|
|
|
3022
3022
|
],
|
|
3023
3023
|
funding: [
|
|
3024
3024
|
],
|
|
3025
|
-
hash: '
|
|
3026
|
-
lastUpdate: '
|
|
3025
|
+
hash: 'HaW8Dipb0AWtfltNutRlATwFXiAjiRNnPp6aEV1Z718',
|
|
3026
|
+
lastUpdate: '2026-01-08T16:24:04Z',
|
|
3027
3027
|
license: 'MIT',
|
|
3028
3028
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
3029
3029
|
name: 'php',
|
|
3030
3030
|
scopeName: 'source.php',
|
|
3031
|
-
sha: '
|
|
3032
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
3033
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/php/syntaxes/php.tmLanguage.json?ref=
|
|
3031
|
+
sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
3032
|
+
source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/php/syntaxes/php.tmLanguage.json',
|
|
3033
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/php/syntaxes/php.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
3034
3034
|
},
|
|
3035
3035
|
{
|
|
3036
3036
|
byteSize: 9546,
|
|
@@ -3888,15 +3888,15 @@ export const grammars = [
|
|
|
3888
3888
|
displayName: 'SQL',
|
|
3889
3889
|
funding: [
|
|
3890
3890
|
],
|
|
3891
|
-
hash: '
|
|
3892
|
-
lastUpdate: '
|
|
3891
|
+
hash: 'vUlWAlnow6pVCJS6tKb8lw-QwPg38jOfyKSKesGlvEc',
|
|
3892
|
+
lastUpdate: '2026-01-08T16:24:04Z',
|
|
3893
3893
|
license: 'MIT',
|
|
3894
3894
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
3895
3895
|
name: 'sql',
|
|
3896
3896
|
scopeName: 'source.sql',
|
|
3897
|
-
sha: '
|
|
3898
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
3899
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/sql/syntaxes/sql.tmLanguage.json?ref=
|
|
3897
|
+
sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
3898
|
+
source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/sql/syntaxes/sql.tmLanguage.json',
|
|
3899
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/sql/syntaxes/sql.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
|
|
3900
3900
|
},
|
|
3901
3901
|
{
|
|
3902
3902
|
byteSize: 3509,
|