tm-grammars 1.13.0 → 1.13.2
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 +11 -11
- package/grammars/clarity.json +2 -2
- package/grammars/csharp.json +3 -0
- package/grammars/fsharp.json +7 -4
- package/grammars/gdscript.json +67 -1
- package/grammars/go.json +39 -72
- package/grammars/latex.json +3 -3
- package/grammars/mermaid.json +395 -85
- package/grammars/swift.json +3 -3
- package/index.js +32 -32
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ import { grammars } from 'tm-grammars'
|
|
|
43
43
|
| `blade` | | [spatie/shiki-php](https://github.com/spatie/shiki-php/blob/e985c3ab6b13252ad4521b7edb8ff91a9da3dd46/languages/blade.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spatie/shiki-php/main/LICENSE.md) | `html` `xml` `sql` `javascript` `json` `css` | 101.01 kB |
|
|
44
44
|
| `c` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/cpp/syntaxes/c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 69.70 kB |
|
|
45
45
|
| `cadence` | `cdc` | [onflow/vscode-cadence](https://github.com/onflow/vscode-cadence/blob/e227d66c0346d2229da8c81a116abefdcda5f443/extension/language/syntaxes/cadence.tmGrammar.json) | [Apache-2.0](https://raw.githubusercontent.com/onflow/vscode-cadence/master/LICENSE) | | 10.34 kB |
|
|
46
|
-
| `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/
|
|
46
|
+
| `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/52508cc05304780d80a5dc817fcc35c6760c5459/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | 13.87 kB |
|
|
47
47
|
| `clojure` | `clj` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/a1a4c0a63b1ad59e84f54b874744fe35dea9abe1/extensions/clojure/syntaxes/clojure.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 6.36 kB |
|
|
48
48
|
| `cmake` | | [twxs/vs.language.cmake](https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage) | [MIT](https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE) | | 10.00 kB |
|
|
49
49
|
| `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/e23b4cda2772a4fbc985407167412edcd47f528a/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `sql` `html` `java` | 38.43 kB |
|
|
@@ -51,9 +51,9 @@ import { grammars } from 'tm-grammars'
|
|
|
51
51
|
| `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 32.73 kB |
|
|
52
52
|
| `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.34 kB |
|
|
53
53
|
| `common-lisp` | `lisp` | [qingpeng9802/vscode-common-lisp](https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/qingpeng9802/vscode-common-lisp/master/LICENSE) | | 23.50 kB |
|
|
54
|
-
| `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` `glsl` `sql` | 411.01 kB |
|
|
54
|
+
| `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` | 411.01 kB |
|
|
55
55
|
| `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` | 31.60 kB |
|
|
56
|
-
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
56
|
+
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 83.26 kB |
|
|
57
57
|
| `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ae23e73ba0690ae82614d585e10a88d608ccdda0/extensions/css/syntaxes/css.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 48.60 kB |
|
|
58
58
|
| `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) | | 1.07 kB |
|
|
59
59
|
| `cue` | | [cue-sh/vscode-cue](https://github.com/cue-sh/vscode-cue/blob/0734615a2607fe03f5d6c1816f8f7435179659fc/syntaxes/cue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/cue-sh/vscode-cue/master/LICENSE) | | 15.93 kB |
|
|
@@ -76,9 +76,9 @@ import { grammars } from 'tm-grammars'
|
|
|
76
76
|
| `fluent` | `ftl` | [macabeus/vscode-fluent](https://github.com/macabeus/vscode-fluent/blob/8544ea296a7769a359f43ddff4dc4b6c61f5cf59/syntaxes/fluent.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/macabeus/vscode-fluent/master/LICENSE) | | 3.39 kB |
|
|
77
77
|
| `fortran-fixed-form` | `f` `for` `f77` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/e642012094fc0a7379f204bb4e61243005afb1da/syntaxes/fortran_fixed-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | `fortran-free-form` | 905.00 B |
|
|
78
78
|
| `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.92 kB |
|
|
79
|
-
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
79
|
+
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 24.25 kB |
|
|
80
80
|
| `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.90 kB |
|
|
81
|
-
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
81
|
+
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/cca25099c4a154137de962a60dcf2fba74c6cc31/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 18.01 kB |
|
|
82
82
|
| `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.95 kB |
|
|
83
83
|
| `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.12 kB |
|
|
84
84
|
| `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB |
|
|
@@ -89,7 +89,7 @@ import { grammars } from 'tm-grammars'
|
|
|
89
89
|
| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.08 kB |
|
|
90
90
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
91
91
|
| `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) | | 16.46 kB |
|
|
92
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
92
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 45.44 kB |
|
|
93
93
|
| `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` | 17.11 kB |
|
|
94
94
|
| `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.63 kB |
|
|
95
95
|
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.66 kB |
|
|
@@ -121,7 +121,7 @@ import { grammars } from 'tm-grammars'
|
|
|
121
121
|
| `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp` `python` `javascript` `r` `sql` | 32.82 kB |
|
|
122
122
|
| `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/bb71d917dd97b756d45f2594346efe3d70a15060/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | 8.22 kB |
|
|
123
123
|
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.60 kB |
|
|
124
|
-
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
124
|
+
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/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` | 53.80 kB |
|
|
125
125
|
| `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 79.57 kB |
|
|
126
126
|
| `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/909aab5b1d8be374585bd02ef46e0e38d65f2f89/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | `html` `css` `json` `javascript` | 15.31 kB |
|
|
127
127
|
| `log` | | [emilast/vscode-logfile-highlighter](https://github.com/emilast/vscode-logfile-highlighter/blob/eb50e785c27b4b4f7dbf6c0e801c58fe91baef5d/syntaxes/log.tmLanguage) | [MIT](https://raw.githubusercontent.com/emilast/vscode-logfile-highlighter/master/LICENSE) | | 2.51 kB |
|
|
@@ -129,12 +129,12 @@ import { grammars } from 'tm-grammars'
|
|
|
129
129
|
| `lua` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/lua/syntaxes/lua.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `c` | 14.41 kB |
|
|
130
130
|
| `luau` | | [JohnnyMorganz/Luau.tmLanguage](https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/5febad569516f7a3a587b59389fc2cdc40bff972/Luau.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md) | | 12.01 kB |
|
|
131
131
|
| `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.45 kB |
|
|
132
|
-
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6b0a582e595fab7da09fcd267f4f8248e7ec437e/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` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `html-derivative` | 52.58 kB |
|
|
132
|
+
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6b0a582e595fab7da09fcd267f4f8248e7ec437e/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` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `html-derivative` | 52.58 kB |
|
|
133
133
|
| `marko` | | [marko-js/marko-tmbundle](https://github.com/marko-js/marko-tmbundle/blob/dd3a0c39e656bedd276d3bcbdea92a2d627755c7/Syntaxes/marko.tmLanguage) | [MIT](https://raw.githubusercontent.com/marko-js/marko-tmbundle/master/LICENSE) | `css` `less` `scss` `javascript` | 18.31 kB |
|
|
134
134
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 19.38 kB |
|
|
135
135
|
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 19.05 kB |
|
|
136
136
|
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/371d61df9ddc3850e12aabe61b602d02e259e8a4/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 120.76 kB |
|
|
137
|
-
| `mermaid` | | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | |
|
|
137
|
+
| `mermaid` | | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.99 kB |
|
|
138
138
|
| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 72.91 kB |
|
|
139
139
|
| `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/4a9b54dbbebf6156ae987d4b9710191dd5952a7d/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 18.46 kB |
|
|
140
140
|
| `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.41 kB |
|
|
@@ -193,7 +193,7 @@ import { grammars } from 'tm-grammars'
|
|
|
193
193
|
| `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` | 58.06 kB |
|
|
194
194
|
| `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) | | 30.17 kB |
|
|
195
195
|
| `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/64d7b773adfb136b0f4b59e31d03eea7ada1d508/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 15.73 kB |
|
|
196
|
-
| `swift` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
196
|
+
| `swift` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/swift/syntaxes/swift.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 93.40 kB |
|
|
197
197
|
| `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/8d7c8f5f3232f63d43830143afc034318832291e/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 24.60 kB |
|
|
198
198
|
| `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/bb87cf9d8f7f9da36fbc5bf80683062b2558ed80/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | 7.44 kB |
|
|
199
199
|
| `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | 3.21 kB |
|
|
@@ -240,7 +240,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag
|
|
|
240
240
|
| `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/c3f3172a70b1a2bfdca3bdee85df9271cb0895cf/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` | 956.00 B |
|
|
241
241
|
| `angular-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` | 471.00 B |
|
|
242
242
|
| `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/dceedb686d45f19a65a50398be3dbce2526e7d11/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` `angular-template` | 1.18 kB |
|
|
243
|
-
| `cpp-macro` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `glsl` `sql` | 230.05 kB |
|
|
243
|
+
| `cpp-macro` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `regexp` `glsl` `sql` | 230.05 kB |
|
|
244
244
|
| `jinja-html` | | [samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/blob/64ad369cd167bba2e614944db6d925b7dc6483b4/syntaxes/jinja-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE) | `html` | 470.00 B |
|
|
245
245
|
| `markdown-vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/ce5623e52a31c99797052727a817d422266f210d/extensions/vscode/syntaxes/markdown-vue.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | | 670.00 B |
|
|
246
246
|
| `vue-directives` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/d5ab9edcf4a18d9c25c143a37cc3ec95229fc6b1/extensions/vscode/syntaxes/vue-directives.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | | 366.00 B |
|
package/grammars/clarity.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"repository": {
|
|
34
34
|
"built-in-func": {
|
|
35
|
-
"begin": "(?x) (\\() \\s* (\\-|\\+|<\\=|>\\=|<|>|\\*|/|and|append|as-contract|as-max-len\\?|asserts!|at-block|begin|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|buff-to-int-be|buff-to-int-le|buff-to-uint-be|buff-to-uint-le|concat|contract-call\\?|contract-of|default-to|element-at|element-at\\?|filter|fold|from-consensus-buff\\?|ft-burn\\?|ft-get-balance|ft-get-supply|ft-mint\\?|ft-transfer\\?|get-block-info\\?|get-burn-block-info\\?|hash160|if|impl-trait|index-of|index-of\\?|int-to-ascii|int-to-utf8|is-eq|is-err|is-none|is-ok|is-some|is-standard|keccak256|len|log2|map|match|merge|mod|nft-burn\\?|nft-get-owner\\?|nft-mint\\?|nft-transfer\\?|not|or|pow|principal-construct\\?|principal-destruct\\?|principal-of\\?|print|replace-at\\?|secp256k1-recover\\?|secp256k1-verify|sha256|sha512|sha512/256|slice\\?|sqrti|string-to-int\\?|string-to-uint\\?|stx-account|stx-burn\\?|stx-get-balance|stx-transfer-memo\\?|stx-transfer\\?|to-consensus-buff\\?|to-int|to-uint|try!|unwrap!|unwrap-err!|unwrap-err-panic|unwrap-panic|xor) \\s+",
|
|
35
|
+
"begin": "(?x) (\\() \\s* (\\-|\\+|<\\=|>\\=|<|>|\\*|/|and|append|as-contract|as-max-len\\?|asserts!|at-block|begin|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|buff-to-int-be|buff-to-int-le|buff-to-uint-be|buff-to-uint-le|concat|contract-call\\?|contract-of|default-to|element-at|element-at\\?|filter|fold|from-consensus-buff\\?|ft-burn\\?|ft-get-balance|ft-get-supply|ft-mint\\?|ft-transfer\\?|get-block-info\\?|get-burn-block-info\\?|get-stacks-block-info\\?|get-tenure-info\\?|get-burn-block-info\\?|hash160|if|impl-trait|index-of|index-of\\?|int-to-ascii|int-to-utf8|is-eq|is-err|is-none|is-ok|is-some|is-standard|keccak256|len|log2|map|match|merge|mod|nft-burn\\?|nft-get-owner\\?|nft-mint\\?|nft-transfer\\?|not|or|pow|principal-construct\\?|principal-destruct\\?|principal-of\\?|print|replace-at\\?|secp256k1-recover\\?|secp256k1-verify|sha256|sha512|sha512/256|slice\\?|sqrti|string-to-int\\?|string-to-uint\\?|stx-account|stx-burn\\?|stx-get-balance|stx-transfer-memo\\?|stx-transfer\\?|to-consensus-buff\\?|to-int|to-uint|try!|unwrap!|unwrap-err!|unwrap-err-panic|unwrap-panic|xor) \\s+",
|
|
36
36
|
"beginCaptures": {
|
|
37
37
|
"1": {
|
|
38
38
|
"name": "punctuation.built-in-function.start.clarity"
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
]
|
|
551
551
|
},
|
|
552
552
|
"keyword": {
|
|
553
|
-
"match": "(?<!\\S)(?!-)\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stx-liquid-supply|tx-sender|tx-sponsor?)\\b(?!\\s*-)",
|
|
553
|
+
"match": "(?<!\\S)(?!-)\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stacks-block-height|stx-liquid-supply|tenure-height|tx-sender|tx-sponsor?)\\b(?!\\s*-)",
|
|
554
554
|
"name": "constant.language.clarity"
|
|
555
555
|
},
|
|
556
556
|
"let-func": {
|
package/grammars/csharp.json
CHANGED
package/grammars/fsharp.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
],
|
|
60
60
|
"repository": {
|
|
61
61
|
"abstract_definition": {
|
|
62
|
-
"begin": "\\b(abstract)\\s+(member)?(\\s+\\[\\<.*\\>\\])?\\s*([_[:alpha:]0-9,\\._`\\s]+)(<)?",
|
|
62
|
+
"begin": "\\b(static)?\\s+(abstract)\\s+(member)?(\\s+\\[\\<.*\\>\\])?\\s*([_[:alpha:]0-9,\\._`\\s]+)(<)?",
|
|
63
63
|
"beginCaptures": {
|
|
64
64
|
"1": {
|
|
65
65
|
"name": "keyword.fsharp"
|
|
@@ -68,6 +68,9 @@
|
|
|
68
68
|
"name": "keyword.fsharp"
|
|
69
69
|
},
|
|
70
70
|
"3": {
|
|
71
|
+
"name": "keyword.fsharp"
|
|
72
|
+
},
|
|
73
|
+
"4": {
|
|
71
74
|
"name": "support.function.attribute.fsharp"
|
|
72
75
|
},
|
|
73
76
|
"5": {
|
|
@@ -671,7 +674,7 @@
|
|
|
671
674
|
"name": "keyword.symbol.fsharp"
|
|
672
675
|
},
|
|
673
676
|
{
|
|
674
|
-
"match": "\\b-?[0-9][0-9_]*((\\.([0-9][0-9_]*([eE][+-]??[0-9][0-9_]*)?)?)|([eE][+-]??[0-9][0-9_]*))",
|
|
677
|
+
"match": "\\b-?[0-9][0-9_]*((\\.(?!\\.)([0-9][0-9_]*([eE][+-]??[0-9][0-9_]*)?)?)|([eE][+-]??[0-9][0-9_]*))",
|
|
675
678
|
"name": "constant.numeric.float.fsharp"
|
|
676
679
|
},
|
|
677
680
|
{
|
|
@@ -691,7 +694,7 @@
|
|
|
691
694
|
"definition": {
|
|
692
695
|
"patterns": [
|
|
693
696
|
{
|
|
694
|
-
"begin": "\\b(let mutable|static let mutable|static let|let inline|let|and|member val|static member inline|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
|
|
697
|
+
"begin": "\\b(let mutable|static let mutable|static let|let inline|let|and|member val|member inline|static member inline|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
|
|
695
698
|
"beginCaptures": {
|
|
696
699
|
"1": {
|
|
697
700
|
"name": "keyword.fsharp"
|
|
@@ -766,7 +769,7 @@
|
|
|
766
769
|
]
|
|
767
770
|
},
|
|
768
771
|
{
|
|
769
|
-
"begin": "\\b(static val mutable|val mutable|val)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9,\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9,\\._`\\s]+|(?<=,)\\s)*)?",
|
|
772
|
+
"begin": "\\b(static val mutable|val mutable|val inline|val)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9,\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9,\\._`\\s]+|(?<=,)\\s)*)?",
|
|
770
773
|
"beginCaptures": {
|
|
771
774
|
"1": {
|
|
772
775
|
"name": "keyword.fsharp"
|
package/grammars/gdscript.json
CHANGED
|
@@ -139,6 +139,15 @@
|
|
|
139
139
|
{
|
|
140
140
|
"include": "#control_flow"
|
|
141
141
|
},
|
|
142
|
+
{
|
|
143
|
+
"include": "#match_keyword"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"include": "#curly_braces"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"include": "#square_braces"
|
|
150
|
+
},
|
|
142
151
|
{
|
|
143
152
|
"include": "#round_braces"
|
|
144
153
|
},
|
|
@@ -332,9 +341,31 @@
|
|
|
332
341
|
"name": "constant.language.gdscript"
|
|
333
342
|
},
|
|
334
343
|
"control_flow": {
|
|
335
|
-
"match": "\\b(?:if|elif|else|while|break|continue|pass|return|
|
|
344
|
+
"match": "\\b(?:if|elif|else|while|break|continue|pass|return|when|yield|await)\\b",
|
|
336
345
|
"name": "keyword.control.gdscript"
|
|
337
346
|
},
|
|
347
|
+
"curly_braces": {
|
|
348
|
+
"begin": "\\{",
|
|
349
|
+
"beginCaptures": {
|
|
350
|
+
"0": {
|
|
351
|
+
"name": "punctuation.definition.dict.begin.gdscript"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"end": "\\}",
|
|
355
|
+
"endCaptures": {
|
|
356
|
+
"0": {
|
|
357
|
+
"name": "punctuation.definition.dict.end.gdscript"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"patterns": [
|
|
361
|
+
{
|
|
362
|
+
"include": "#base_expression"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"include": "#any_variable"
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
},
|
|
338
369
|
"expression": {
|
|
339
370
|
"patterns": [
|
|
340
371
|
{
|
|
@@ -679,6 +710,14 @@
|
|
|
679
710
|
}
|
|
680
711
|
]
|
|
681
712
|
},
|
|
713
|
+
"match_keyword": {
|
|
714
|
+
"captures": {
|
|
715
|
+
"1": {
|
|
716
|
+
"name": "keyword.control.gdscript"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"match": "^\n\\s*(match)"
|
|
720
|
+
},
|
|
682
721
|
"nodepath_function": {
|
|
683
722
|
"begin": "(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\s*(\\()",
|
|
684
723
|
"beginCaptures": {
|
|
@@ -689,12 +728,14 @@
|
|
|
689
728
|
"name": "punctuation.definition.parameters.begin.gdscript"
|
|
690
729
|
}
|
|
691
730
|
},
|
|
731
|
+
"contentName": "meta.function.parameters.gdscript",
|
|
692
732
|
"end": "(\\))",
|
|
693
733
|
"endCaptures": {
|
|
694
734
|
"1": {
|
|
695
735
|
"name": "punctuation.definition.parameters.end.gdscript"
|
|
696
736
|
}
|
|
697
737
|
},
|
|
738
|
+
"name": "meta.function.gdscript",
|
|
698
739
|
"patterns": [
|
|
699
740
|
{
|
|
700
741
|
"begin": "(\"|')",
|
|
@@ -706,6 +747,9 @@
|
|
|
706
747
|
"name": "keyword.control.flow"
|
|
707
748
|
}
|
|
708
749
|
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"include": "#base_expression"
|
|
709
753
|
}
|
|
710
754
|
]
|
|
711
755
|
},
|
|
@@ -879,6 +923,28 @@
|
|
|
879
923
|
"match": "(?x) \\s*\n(signal) \\s+\n([a-zA-Z_]\\w*)(?=[\\n\\s])",
|
|
880
924
|
"name": "meta.signal.gdscript"
|
|
881
925
|
},
|
|
926
|
+
"square_braces": {
|
|
927
|
+
"begin": "\\[",
|
|
928
|
+
"beginCaptures": {
|
|
929
|
+
"0": {
|
|
930
|
+
"name": "punctuation.definition.list.begin.gdscript"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"end": "\\]",
|
|
934
|
+
"endCaptures": {
|
|
935
|
+
"0": {
|
|
936
|
+
"name": "punctuation.definition.list.end.gdscript"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"patterns": [
|
|
940
|
+
{
|
|
941
|
+
"include": "#base_expression"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"include": "#any_variable"
|
|
945
|
+
}
|
|
946
|
+
]
|
|
947
|
+
},
|
|
882
948
|
"statement": {
|
|
883
949
|
"patterns": [
|
|
884
950
|
{
|
package/grammars/go.json
CHANGED
|
@@ -271,13 +271,16 @@
|
|
|
271
271
|
},
|
|
272
272
|
"2": {
|
|
273
273
|
"patterns": [
|
|
274
|
-
{
|
|
275
|
-
"include": "#type-declarations"
|
|
276
|
-
},
|
|
277
274
|
{
|
|
278
275
|
"match": "\\binvalid\\b\\s+\\btype\\b",
|
|
279
276
|
"name": "invalid.field.go"
|
|
280
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"include": "#type-declarations-without-brackets"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"include": "#parameter-variable-types"
|
|
283
|
+
},
|
|
281
284
|
{
|
|
282
285
|
"match": "\\w+",
|
|
283
286
|
"name": "entity.name.type.go"
|
|
@@ -1130,7 +1133,7 @@
|
|
|
1130
1133
|
}
|
|
1131
1134
|
},
|
|
1132
1135
|
"comment": "map types",
|
|
1133
|
-
"end": "(?:(\\])((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?!(?:[\\[\\]\\*]+)?\\b(?:func|struct|map)\\b)(?:[\\*\\[\\]]+)?(?:[\\w\\.]+))?)",
|
|
1136
|
+
"end": "(?:(\\])((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?!(?:[\\[\\]\\*]+)?\\b(?:func|struct|map)\\b)(?:[\\*\\[\\]]+)?(?:[\\w\\.]+)(?:\\[(?:(?:[\\w\\.\\*\\[\\]\\{\\}]+)(?:(?:\\,\\s*(?:[\\w\\.\\*\\[\\]\\{\\}]+))*))?\\])?)?)",
|
|
1134
1137
|
"endCaptures": {
|
|
1135
1138
|
"1": {
|
|
1136
1139
|
"name": "punctuation.definition.end.bracket.square.go"
|
|
@@ -1216,6 +1219,9 @@
|
|
|
1216
1219
|
{
|
|
1217
1220
|
"include": "#struct_variables_types"
|
|
1218
1221
|
},
|
|
1222
|
+
{
|
|
1223
|
+
"include": "#interface_variables_types"
|
|
1224
|
+
},
|
|
1219
1225
|
{
|
|
1220
1226
|
"include": "#type-declarations-without-brackets"
|
|
1221
1227
|
},
|
|
@@ -1772,72 +1778,10 @@
|
|
|
1772
1778
|
"name": "variable.other.property.go"
|
|
1773
1779
|
}
|
|
1774
1780
|
]
|
|
1775
|
-
},
|
|
1776
|
-
"2": {
|
|
1777
|
-
"patterns": [
|
|
1778
|
-
{
|
|
1779
|
-
"include": "#type-declarations"
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"match": "\\w+",
|
|
1783
|
-
"name": "variable.other.go"
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"include": "$self"
|
|
1787
|
-
}
|
|
1788
|
-
]
|
|
1789
|
-
},
|
|
1790
|
-
"3": {
|
|
1791
|
-
"patterns": [
|
|
1792
|
-
{
|
|
1793
|
-
"include": "#type-declarations"
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"match": "\\w+",
|
|
1797
|
-
"name": "variable.other.property.field.go"
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"include": "$self"
|
|
1801
|
-
}
|
|
1802
|
-
]
|
|
1803
|
-
},
|
|
1804
|
-
"4": {
|
|
1805
|
-
"patterns": [
|
|
1806
|
-
{
|
|
1807
|
-
"captures": {
|
|
1808
|
-
"1": {
|
|
1809
|
-
"patterns": [
|
|
1810
|
-
{
|
|
1811
|
-
"include": "#type-declarations"
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"match": "\\w+",
|
|
1815
|
-
"name": "variable.other.go"
|
|
1816
|
-
}
|
|
1817
|
-
]
|
|
1818
|
-
},
|
|
1819
|
-
"2": {
|
|
1820
|
-
"patterns": [
|
|
1821
|
-
{
|
|
1822
|
-
"include": "#type-declarations"
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"match": "\\w+",
|
|
1826
|
-
"name": "variable.other.property.field.go"
|
|
1827
|
-
}
|
|
1828
|
-
]
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
"match": "([\\w\\.\\*\\&\\[\\]]+)(\\.\\w+)"
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"include": "$self"
|
|
1835
|
-
}
|
|
1836
|
-
]
|
|
1837
1781
|
}
|
|
1838
1782
|
},
|
|
1839
|
-
"comment": "Property variables in struct
|
|
1840
|
-
"match": "(
|
|
1783
|
+
"comment": "Property variables in struct",
|
|
1784
|
+
"match": "((?:\\b[\\w\\.]+)(?:\\:(?!\\=)))"
|
|
1841
1785
|
},
|
|
1842
1786
|
"raw_string_literals": {
|
|
1843
1787
|
"begin": "`",
|
|
@@ -1966,7 +1910,7 @@
|
|
|
1966
1910
|
}
|
|
1967
1911
|
},
|
|
1968
1912
|
"comment": "single type declaration with generics",
|
|
1969
|
-
"end": "(?:(?<=\\])((?:\\s+)(?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+))?)",
|
|
1913
|
+
"end": "(?:(?<=\\])((?:\\s+)(?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+(?:\\,\\s+[\\w\\.\\[\\]\\*]+)*))?)",
|
|
1970
1914
|
"endCaptures": {
|
|
1971
1915
|
"1": {
|
|
1972
1916
|
"patterns": [
|
|
@@ -2045,7 +1989,7 @@
|
|
|
2045
1989
|
}
|
|
2046
1990
|
},
|
|
2047
1991
|
"comment": "slice index and capacity variables, to not scope them as property variables",
|
|
2048
|
-
"match": "(?<=\\w\\[)((?:(?:\\b[\\w
|
|
1992
|
+
"match": "(?<=\\w\\[)((?:(?:\\b[\\w\\.\\*\\+/\\-\\%\\<\\>\\|\\&]+\\:)|(?:\\:\\b[\\w\\.\\*\\+/\\-\\%\\<\\>\\|\\&]+))(?:\\b[\\w\\.\\*\\+/\\-\\%\\<\\>\\|\\&]+)?(?:\\:\\b[\\w\\.\\*\\+/\\-\\%\\<\\>\\|\\&]+)?)(?=\\])"
|
|
2049
1993
|
},
|
|
2050
1994
|
"statements": {
|
|
2051
1995
|
"patterns": [
|
|
@@ -2290,6 +2234,29 @@
|
|
|
2290
2234
|
}
|
|
2291
2235
|
]
|
|
2292
2236
|
},
|
|
2237
|
+
{
|
|
2238
|
+
"begin": "(?:((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?<!\\,\\s*)(?:[\\w\\.\\*]+)\\s*)(?=\\`))",
|
|
2239
|
+
"beginCaptures": {
|
|
2240
|
+
"1": {
|
|
2241
|
+
"patterns": [
|
|
2242
|
+
{
|
|
2243
|
+
"include": "#type-declarations"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"match": "\\w+",
|
|
2247
|
+
"name": "entity.name.type.go"
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
"comment": "one type only with multi line raw string",
|
|
2253
|
+
"end": "(?=\\`)",
|
|
2254
|
+
"patterns": [
|
|
2255
|
+
{
|
|
2256
|
+
"include": "#raw_string_literals"
|
|
2257
|
+
}
|
|
2258
|
+
]
|
|
2259
|
+
},
|
|
2293
2260
|
{
|
|
2294
2261
|
"include": "#parameter-variable-types"
|
|
2295
2262
|
}
|
|
@@ -2455,7 +2422,7 @@
|
|
|
2455
2422
|
}
|
|
2456
2423
|
},
|
|
2457
2424
|
"comment": "property variables and types",
|
|
2458
|
-
"match": "(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))([
|
|
2425
|
+
"match": "(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))([^\\`]+))"
|
|
2459
2426
|
}
|
|
2460
2427
|
]
|
|
2461
2428
|
},
|
|
@@ -2537,7 +2504,7 @@
|
|
|
2537
2504
|
"match": "(?:(?:^\\s*(\\bcase\\b))(?:\\s+)([\\s\\S]+(?:\\:)\\s*(?:/(?:/|\\*).*)?)$)"
|
|
2538
2505
|
},
|
|
2539
2506
|
"switch_types": {
|
|
2540
|
-
"begin": "(?<=\\bswitch\\b)(?:\\s*)(?:(\\w+\\s*\\:\\=)?\\s*([\\w\\.\\*\\(\\)\\[\\]]+))(\\.\\(\\btype\\b\\)\\s*)(\\{)",
|
|
2507
|
+
"begin": "(?<=\\bswitch\\b)(?:\\s*)(?:(\\w+\\s*\\:\\=)?\\s*([\\w\\.\\*\\(\\)\\[\\]\\+/\\-\\%\\<\\>\\|\\&]+))(\\.\\(\\btype\\b\\)\\s*)(\\{)",
|
|
2541
2508
|
"beginCaptures": {
|
|
2542
2509
|
"1": {
|
|
2543
2510
|
"patterns": [
|
package/grammars/latex.json
CHANGED
|
@@ -2640,7 +2640,7 @@
|
|
|
2640
2640
|
]
|
|
2641
2641
|
},
|
|
2642
2642
|
{
|
|
2643
|
-
"begin": "((\\\\)(?:\\w*[rR]ef\\*?))(\\{)",
|
|
2643
|
+
"begin": "((\\\\)(?:\\w*[rR]ef\\*?))(?:\\[[^\\]]*\\])?(\\{)",
|
|
2644
2644
|
"beginCaptures": {
|
|
2645
2645
|
"1": {
|
|
2646
2646
|
"name": "keyword.control.ref.latex"
|
|
@@ -3042,7 +3042,7 @@
|
|
|
3042
3042
|
"name": "punctuation.definition.variable.latex"
|
|
3043
3043
|
}
|
|
3044
3044
|
},
|
|
3045
|
-
"match": "(\\\\)[cgl](?:[_\\p{Alphabetic}@]+)+_
|
|
3045
|
+
"match": "(\\\\)[cgl](?:[_\\p{Alphabetic}@]+)+_[a-z]+",
|
|
3046
3046
|
"name": "variable.other.latex3.latex"
|
|
3047
3047
|
},
|
|
3048
3048
|
{
|
|
@@ -3142,7 +3142,7 @@
|
|
|
3142
3142
|
"match": "\\s*((\\\\)(?:begin|end))(\\{)([a-zA-Z]*\\*?)(\\})(?:(\\[)([^\\]]*)(\\])){,2}(?:(\\{)([^{}]*)(\\}))?"
|
|
3143
3143
|
},
|
|
3144
3144
|
"definition-label": {
|
|
3145
|
-
"begin": "((\\\\)label)((?:\\[[^\\[]*?\\])*)(\\{)",
|
|
3145
|
+
"begin": "((\\\\)z?label)((?:\\[[^\\[]*?\\])*)(\\{)",
|
|
3146
3146
|
"beginCaptures": {
|
|
3147
3147
|
"1": {
|
|
3148
3148
|
"name": "keyword.control.label.latex"
|