tm-grammars 1.12.12 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +95 -0
- package/README.md +13 -10
- package/grammars/clarity.json +2 -2
- package/grammars/csharp.json +3 -0
- package/grammars/edge.json +146 -0
- package/grammars/fsharp.json +7 -4
- package/grammars/go.json +39 -72
- package/grammars/latex.json +3 -3
- package/grammars/luau.json +772 -0
- package/grammars/mermaid.json +395 -85
- package/grammars/swift.json +3 -3
- package/grammars/templ.json +1111 -0
- package/index.js +71 -25
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -2207,6 +2207,21 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
2207
2207
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2208
2208
|
SOFTWARE.
|
|
2209
2209
|
|
|
2210
|
+
=========================================================================================================
|
|
2211
|
+
Files: edge.json
|
|
2212
|
+
License: https://raw.githubusercontent.com/edge-js/edge-vscode/main/LICENSE.md
|
|
2213
|
+
SPDX: MIT
|
|
2214
|
+
---------------------------------------------------------------------------------------------------------
|
|
2215
|
+
# The MIT License
|
|
2216
|
+
|
|
2217
|
+
Copyright 2022 Harminder Virk, contributors
|
|
2218
|
+
|
|
2219
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
2220
|
+
|
|
2221
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
2222
|
+
|
|
2223
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2224
|
+
|
|
2210
2225
|
=========================================================================================================
|
|
2211
2226
|
Files: elixir.json
|
|
2212
2227
|
License: https://raw.githubusercontent.com/elixir-editors/elixir-tmbundle/master/LICENSE
|
|
@@ -4588,6 +4603,59 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
4588
4603
|
SOFTWARE.
|
|
4589
4604
|
|
|
4590
4605
|
|
|
4606
|
+
=========================================================================================================
|
|
4607
|
+
Files: luau.json
|
|
4608
|
+
License: https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md
|
|
4609
|
+
SPDX: NOASSERTION
|
|
4610
|
+
---------------------------------------------------------------------------------------------------------
|
|
4611
|
+
Copyright (c) JohnnyMorganz
|
|
4612
|
+
All rights reserved.
|
|
4613
|
+
|
|
4614
|
+
MIT License
|
|
4615
|
+
|
|
4616
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4617
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
4618
|
+
in the Software without restriction, including without limitation the rights
|
|
4619
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4620
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
4621
|
+
furnished to do so, subject to the following conditions:
|
|
4622
|
+
|
|
4623
|
+
The above copyright notice and this permission notice shall be included in
|
|
4624
|
+
all copies or substantial portions of the Software.
|
|
4625
|
+
|
|
4626
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4627
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4628
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4629
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4630
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4631
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4632
|
+
THE SOFTWARE.
|
|
4633
|
+
|
|
4634
|
+
===
|
|
4635
|
+
|
|
4636
|
+
Copyright (c) Microsoft Corporation
|
|
4637
|
+
All rights reserved.
|
|
4638
|
+
|
|
4639
|
+
MIT License
|
|
4640
|
+
|
|
4641
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4642
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
4643
|
+
in the Software without restriction, including without limitation the rights
|
|
4644
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4645
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
4646
|
+
furnished to do so, subject to the following conditions:
|
|
4647
|
+
|
|
4648
|
+
The above copyright notice and this permission notice shall be included in
|
|
4649
|
+
all copies or substantial portions of the Software.
|
|
4650
|
+
|
|
4651
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4652
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4653
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4654
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4655
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4656
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4657
|
+
THE SOFTWARE.
|
|
4658
|
+
|
|
4591
4659
|
=========================================================================================================
|
|
4592
4660
|
Files: markdown-vue.json, vue.json, vue-directives.json, vue-interpolations.json, vue-sfc-style-variable-injection.json
|
|
4593
4661
|
License: https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE
|
|
@@ -7630,6 +7698,33 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
7630
7698
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7631
7699
|
SOFTWARE.
|
|
7632
7700
|
|
|
7701
|
+
=========================================================================================================
|
|
7702
|
+
Files: templ.json
|
|
7703
|
+
License: https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE
|
|
7704
|
+
SPDX: MIT
|
|
7705
|
+
---------------------------------------------------------------------------------------------------------
|
|
7706
|
+
MIT License
|
|
7707
|
+
|
|
7708
|
+
Copyright (c) 2023 Adrian Hesketh
|
|
7709
|
+
|
|
7710
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7711
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7712
|
+
in the Software without restriction, including without limitation the rights
|
|
7713
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7714
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
7715
|
+
furnished to do so, subject to the following conditions:
|
|
7716
|
+
|
|
7717
|
+
The above copyright notice and this permission notice shall be included in all
|
|
7718
|
+
copies or substantial portions of the Software.
|
|
7719
|
+
|
|
7720
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7721
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7722
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7723
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7724
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7725
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7726
|
+
SOFTWARE.
|
|
7727
|
+
|
|
7633
7728
|
=========================================================================================================
|
|
7634
7729
|
Files: twig.json
|
|
7635
7730
|
License: https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md
|
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 |
|
|
@@ -65,6 +65,7 @@ import { grammars } from 'tm-grammars'
|
|
|
65
65
|
| `diff` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/4549bd26c7b799284e0ebd8dc1e0310e6a8707a1/extensions/diff/syntaxes/diff.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 2.45 kB |
|
|
66
66
|
| `docker` | `dockerfile` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/docker/syntaxes/docker.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 1.51 kB |
|
|
67
67
|
| `dream-maker` | | [gbasood/vscode-atomic-dreams](https://github.com/gbasood/vscode-atomic-dreams/blob/22d2bf0325f65697ea542856280f66e9e098f4a2/syntaxes/dm.tmLanguage.json) | | | 9.99 kB |
|
|
68
|
+
| `edge` | | [edge-js/edge-vscode](https://github.com/edge-js/edge-vscode/blob/04352c41981ca664598674556afa63bd393a10f3/syntaxes/edge.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/edge-js/edge-vscode/main/LICENSE.md) | `typescript` `html` `html-derivative` | 1.97 kB |
|
|
68
69
|
| `elixir` | | [elixir-editors/elixir-tmbundle](https://github.com/elixir-editors/elixir-tmbundle/blob/43c8cd957d5ac6e1abbd8730fc7a08c81a6e76c9/Syntaxes/Elixir.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/elixir-editors/elixir-tmbundle/master/LICENSE) | `html` | 16.96 kB |
|
|
69
70
|
| `elm` | | [elm-tooling/elm-language-client-vscode](https://github.com/elm-tooling/elm-language-client-vscode/blob/c70351314682c2e0fae8a402ebb301da79821c37/syntaxes/elm-syntax.json) | [MIT](https://raw.githubusercontent.com/elm-tooling/elm-language-client-vscode/main/LICENSE) | `glsl` | 10.51 kB |
|
|
70
71
|
| `emacs-lisp` | `elisp` | [Alhadis/language-emacs-lisp](https://github.com/Alhadis/language-emacs-lisp/blob/07ef9e419b80478a0976acbc6ef9d190b07e508e/grammars/emacs-lisp.cson) | [ISC](https://raw.githubusercontent.com/Alhadis/language-emacs-lisp/master/LICENSE.md) | | 795.71 kB |
|
|
@@ -75,7 +76,7 @@ import { grammars } from 'tm-grammars'
|
|
|
75
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 |
|
|
76
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 |
|
|
77
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 |
|
|
78
|
-
| `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 |
|
|
79
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 |
|
|
80
81
|
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/c07fe37f30c33bc0e99629c24ffb0e8d346eca5e/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.21 kB |
|
|
81
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 |
|
|
@@ -88,7 +89,7 @@ import { grammars } from 'tm-grammars'
|
|
|
88
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 |
|
|
89
90
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
90
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 |
|
|
91
|
-
| `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 |
|
|
92
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 |
|
|
93
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 |
|
|
94
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 |
|
|
@@ -120,19 +121,20 @@ import { grammars } from 'tm-grammars'
|
|
|
120
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 |
|
|
121
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 |
|
|
122
123
|
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.60 kB |
|
|
123
|
-
| `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 |
|
|
124
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 |
|
|
125
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 |
|
|
126
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 |
|
|
127
128
|
| `logo` | | [textmate/logo.tmbundle](https://github.com/textmate/logo.tmbundle/blob/3205e987ed2a2aa11accdd55a7d094832441f89c/Syntaxes/Logo.tmLanguage) | | | 3.03 kB |
|
|
128
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
|
+
| `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 |
|
|
129
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 |
|
|
130
|
-
| `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 |
|
|
131
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 |
|
|
132
134
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 19.38 kB |
|
|
133
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 |
|
|
134
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 |
|
|
135
|
-
| `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 |
|
|
136
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 |
|
|
137
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 |
|
|
138
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 |
|
|
@@ -191,11 +193,12 @@ import { grammars } from 'tm-grammars'
|
|
|
191
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 |
|
|
192
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 |
|
|
193
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 |
|
|
194
|
-
| `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 |
|
|
195
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 |
|
|
196
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 |
|
|
197
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 |
|
|
198
200
|
| `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
|
|
201
|
+
| `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/4f85ade86dba0ecabd80fe6e845653a0a4aed5bf/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | `go` `javascript` `css` | 22.70 kB |
|
|
199
202
|
| `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.58 kB |
|
|
200
203
|
| `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.77 kB |
|
|
201
204
|
| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.26 kB |
|
|
@@ -237,7 +240,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag
|
|
|
237
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 |
|
|
238
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 |
|
|
239
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 |
|
|
240
|
-
| `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 |
|
|
241
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 |
|
|
242
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 |
|
|
243
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
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "Edge",
|
|
3
|
+
"injections": {
|
|
4
|
+
"text.html.edge - (meta.embedded | meta.tag | comment.block.edge), L:(text.html.edge meta.tag - (comment.block.edge | meta.embedded.block.edge)), L:(source.ts.embedded.html - (comment.block.edge | meta.embedded.block.edge))": {
|
|
5
|
+
"patterns": [
|
|
6
|
+
{
|
|
7
|
+
"include": "#comment"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"include": "#escapedMustache"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"include": "#safeMustache"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"include": "#mustache"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"include": "#nonSeekableTag"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"include": "#tag"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"name": "edge",
|
|
28
|
+
"patterns": [
|
|
29
|
+
{
|
|
30
|
+
"include": "text.html.basic"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"include": "text.html.derivative"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"repository": {
|
|
37
|
+
"comment": {
|
|
38
|
+
"begin": "\\{{--",
|
|
39
|
+
"beginCaptures": {
|
|
40
|
+
"0": {
|
|
41
|
+
"name": "punctuation.definition.comment.begin.edge"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"end": "\\--}}",
|
|
45
|
+
"endCaptures": {
|
|
46
|
+
"0": {
|
|
47
|
+
"name": "punctuation.definition.comment.end.edge"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"name": "comment.block"
|
|
51
|
+
},
|
|
52
|
+
"escapedMustache": {
|
|
53
|
+
"begin": "\\@{{",
|
|
54
|
+
"beginCaptures": {
|
|
55
|
+
"0": {
|
|
56
|
+
"name": "punctuation.definition.comment.begin.edge"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"end": "\\}}",
|
|
60
|
+
"endCaptures": {
|
|
61
|
+
"0": {
|
|
62
|
+
"name": "punctuation.definition.comment.end.edge"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"name": "comment.block"
|
|
66
|
+
},
|
|
67
|
+
"mustache": {
|
|
68
|
+
"begin": "\\{{",
|
|
69
|
+
"beginCaptures": {
|
|
70
|
+
"0": {
|
|
71
|
+
"name": "punctuation.mustache.begin"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"end": "\\}}",
|
|
75
|
+
"endCaptures": {
|
|
76
|
+
"0": {
|
|
77
|
+
"name": "punctuation.mustache.end"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"name": "meta.embedded.block.javascript",
|
|
81
|
+
"patterns": [
|
|
82
|
+
{
|
|
83
|
+
"include": "source.ts#expression"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"nonSeekableTag": {
|
|
88
|
+
"captures": {
|
|
89
|
+
"2": {
|
|
90
|
+
"name": "support.function.edge"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"match": "^(\\s*)((@{1,2})(!)?([a-zA-Z._]+))(~)?$",
|
|
94
|
+
"name": "meta.embedded.block.javascript",
|
|
95
|
+
"patterns": [
|
|
96
|
+
{
|
|
97
|
+
"include": "source.ts#expression"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"safeMustache": {
|
|
102
|
+
"begin": "\\{{{",
|
|
103
|
+
"beginCaptures": {
|
|
104
|
+
"0": {
|
|
105
|
+
"name": "punctuation.mustache.begin"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"end": "\\}}}",
|
|
109
|
+
"endCaptures": {
|
|
110
|
+
"0": {
|
|
111
|
+
"name": "punctuation.mustache.end"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"name": "meta.embedded.block.javascript",
|
|
115
|
+
"patterns": [
|
|
116
|
+
{
|
|
117
|
+
"include": "source.ts#expression"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"tag": {
|
|
122
|
+
"begin": "^(\\s*)((@{1,2})(!)?([a-zA-Z._]+)(\\s{0,2}))(\\()",
|
|
123
|
+
"beginCaptures": {
|
|
124
|
+
"2": {
|
|
125
|
+
"name": "support.function.edge"
|
|
126
|
+
},
|
|
127
|
+
"7": {
|
|
128
|
+
"name": "punctuation.paren.open"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"end": "\\)",
|
|
132
|
+
"endCaptures": {
|
|
133
|
+
"0": {
|
|
134
|
+
"name": "punctuation.paren.close"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"name": "meta.embedded.block.javascript",
|
|
138
|
+
"patterns": [
|
|
139
|
+
{
|
|
140
|
+
"include": "source.ts#expression"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"scopeName": "text.html.edge"
|
|
146
|
+
}
|
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"
|