tm-grammars 1.17.9 → 1.17.11
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/dart.json +1 -1
- package/grammars/fsharp.json +2 -2
- package/grammars/go.json +2 -25
- package/grammars/less.json +454 -153
- package/grammars/rust.json +6 -3
- package/index.js +23 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ import { grammars } from 'tm-grammars'
|
|
|
60
60
|
| `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.89 kB |
|
|
61
61
|
| `cypher` | `cql` | [adam-cowley/neo4j-vscode](https://github.com/adam-cowley/neo4j-vscode/blob/ad90d275ac76c740018e78f78722343f730270e0/cypher/cypher.tmLanguage) | [MIT](https://raw.githubusercontent.com/adam-cowley/neo4j-vscode/main/LICENSE) | | 6.35 kB |
|
|
62
62
|
| `d` | | [Pure-D/code-d](https://github.com/Pure-D/code-d/blob/466ac04dcc1f6d3fea50ef5ae7a920a121efd09c/syntaxes/d.json) | [MIT](https://raw.githubusercontent.com/Pure-D/code-d/master/LICENSE.md) | | 40.23 kB |
|
|
63
|
-
| `dart` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
63
|
+
| `dart` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/dart/syntaxes/dart.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 6.96 kB |
|
|
64
64
|
| `dax` | | [huyza/dax-language](https://github.com/huyza/dax-language/blob/7fd39aa84552617daa258189b2550dcdbd14149a/syntaxes/dax.grammer.json) | | | 5.27 kB |
|
|
65
65
|
| `desktop` | | [nico-castell/desktop-file-support](https://github.com/nico-castell/desktop-file-support/blob/63720f5f05313de22b68ecbd0ca3d3ed8ba57e7e/syntaxes/desktop.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nico-castell/desktop-file-support/main/LICENSE) | | 1.81 kB |
|
|
66
66
|
| `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 |
|
|
@@ -78,7 +78,7 @@ import { grammars } from 'tm-grammars'
|
|
|
78
78
|
| `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 |
|
|
79
79
|
| `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 |
|
|
80
80
|
| `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.84 kB |
|
|
81
|
-
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
81
|
+
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 24.03 kB |
|
|
82
82
|
| `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.88 kB |
|
|
83
83
|
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/9750f8dfc6e4eeba96f7df62432751930af95337/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.56 kB |
|
|
84
84
|
| `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 |
|
|
@@ -91,7 +91,7 @@ import { grammars } from 'tm-grammars'
|
|
|
91
91
|
| `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.05 kB |
|
|
92
92
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
93
93
|
| `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.83 kB |
|
|
94
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
94
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 45.04 kB |
|
|
95
95
|
| `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.10 kB |
|
|
96
96
|
| `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.54 kB |
|
|
97
97
|
| `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.39 kB |
|
|
@@ -125,7 +125,7 @@ import { grammars } from 'tm-grammars'
|
|
|
125
125
|
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.60 kB |
|
|
126
126
|
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/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` | 54.75 kB |
|
|
127
127
|
| `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/2255bc20c9d28d868d04fb91428652a95cc87a92/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | 3.94 kB |
|
|
128
|
-
| `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
128
|
+
| `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) | | 96.57 kB |
|
|
129
129
|
| `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 |
|
|
130
130
|
| `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 |
|
|
131
131
|
| `logo` | | [textmate/logo.tmbundle](https://github.com/textmate/logo.tmbundle/blob/3205e987ed2a2aa11accdd55a7d094832441f89c/Syntaxes/Logo.tmLanguage) | | | 3.03 kB |
|
|
@@ -177,7 +177,7 @@ import { grammars } from 'tm-grammars'
|
|
|
177
177
|
| `riscv` | | [zhuanhao-wu/vscode-riscv-support](https://github.com/zhuanhao-wu/vscode-riscv-support/blob/2736b60e45ff2ef738d784055e136cf38d6290cd/syntaxes/riscv.tmLanguage) | [MIT](https://raw.githubusercontent.com/zhuanhao-wu/vscode-riscv-support/master/LICENSE) | | 6.98 kB |
|
|
178
178
|
| `rst` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/48e93f756b764991ede33ad09781a863aca6907a/extensions/restructuredtext/syntaxes/rst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html-derivative` `cpp` `python` `javascript` `shellscript` `yaml` `cmake` `ruby` | 9.03 kB |
|
|
179
179
|
| `ruby` | `rb` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e7a257ffc86a48318cefd8f3b904dc546a4314/extensions/ruby/syntaxes/ruby.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `xml` `sql` `css` `c` `javascript` `shellscript` `lua` | 35.97 kB |
|
|
180
|
-
| `rust` | `rs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
180
|
+
| `rust` | `rs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/rust/syntaxes/rust.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 16.82 kB |
|
|
181
181
|
| `sas` | | [rpardee/sas](https://github.com/rpardee/sas/blob/49f6e733c6c0b918a2a825ca2f63dba704f3e8c0/syntaxes/sas.tmLanguage) | [MIT](https://raw.githubusercontent.com/rpardee/sas/master/LICENSE) | `sql` | 9.30 kB |
|
|
182
182
|
| `sass` | | [TheRealSyler/vscode-sass-indented](https://github.com/TheRealSyler/vscode-sass-indented/blob/7b0bd6bbbb768c0cf21b2aa0899cb872ee42fd50/syntaxes/sass.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/TheRealSyler/vscode-sass-indented/master/LICENSE) | | 8.83 kB |
|
|
183
183
|
| `scala` | | [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/blob/1addd66a1bcb65510348ee6dddb5acfcf51f4fba/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 26.83 kB |
|
|
@@ -219,7 +219,7 @@ import { grammars } from 'tm-grammars'
|
|
|
219
219
|
| `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/5963f70745bac638a96431176d39c688b35e8b59/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 5.51 kB |
|
|
220
220
|
| `vhdl` | | [jonasjj/awesome-vhdl](https://github.com/jonasjj/awesome-vhdl/blob/0d0a052da44f64382314ba90a321a83022e5c11a/syntaxes/vhdl.tmLanguage) | [MIT](https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt) | | 22.36 kB |
|
|
221
221
|
| `viml` | `vim` `vimscript` | [dunstontc/viml](https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE) | | 20.18 kB |
|
|
222
|
-
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/
|
|
222
|
+
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/05a802061e9fd2e76396f28ed1504872787f43a0/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `html` `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 16.96 kB |
|
|
223
223
|
| `vue-html` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/53ee52746b1f26f44391c3764bc7bd06d4ddaa46/syntaxes/vue-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | `vue` `javascript` | 8.06 kB |
|
|
224
224
|
| `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/3df08ea46fc7df1a5e7f35365e615624849d1c1b/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 74.04 kB |
|
|
225
225
|
| `wasm` | | [wasmerio/vscode-wasm](https://github.com/wasmerio/vscode-wasm/blob/9d0ace1ff113f4a3e95797675039cd94ec257078/syntaxes/wat.json) | [MIT](https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE) | | 15.02 kB |
|
package/grammars/dart.json
CHANGED
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"name": "variable.language.dart"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
"match": "(?<!\\$)\\b((0(x|X)[0-9a-fA-F]*)|((\\d
|
|
193
|
+
"match": "(?<!\\$)\\b((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|((\\d[0-9_]*\\.?[0-9_]*)|(\\.\\d[0-9_]*))((e|E)(\\+|-)?\\d[0-9_]*)?)\\b(?!\\$)",
|
|
194
194
|
"name": "constant.numeric.dart"
|
|
195
195
|
},
|
|
196
196
|
{
|
package/grammars/fsharp.json
CHANGED
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
"definition": {
|
|
695
695
|
"patterns": [
|
|
696
696
|
{
|
|
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+(\\[[^-=]*\\]|[_A-Za-z]([_A-Za-z0-9\\._]+)*|``[_A-Za-z]([_A-Za-z0-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 val|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_A-Za-z]([_A-Za-z0-9\\._]+)*|``[_A-Za-z]([_A-Za-z0-9\\._`\\s]+|(?<=,)\\s)*)?",
|
|
698
698
|
"beginCaptures": {
|
|
699
699
|
"1": {
|
|
700
700
|
"name": "keyword.fsharp"
|
|
@@ -1067,7 +1067,7 @@
|
|
|
1067
1067
|
"name": "keyword.symbol.arrow.fsharp"
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
|
-
"match": "(&&&|\\|\\|\\||\\^\\^\\^|~~~|~\\+|~\\-|<<<|>>>|\\|>|:>|:\\?>|:|\\[|\\]|\\;|<>|=|@|\\|\\||&&|&|%|{|}|\\||_|\\.\\.|\\,|\\+|\\-|\\*|\\/|\\^|\\!|\\>|\\>\\=|\\>\\>|\\<|\\<\\=|\\(|\\)|\\<\\<)",
|
|
1070
|
+
"match": "[.?]*(&&&|\\|\\|\\||\\^\\^\\^|~~~|~\\+|~\\-|<<<|>>>|\\|>|:>|:\\?>|:|\\[|\\]|\\;|<>|=|@|\\|\\||&&|&|%|{|}|\\||_|\\.\\.|\\,|\\+|\\-|\\*|\\/|\\^|\\!|\\>|\\>\\=|\\>\\>|\\<|\\<\\=|\\(|\\)|\\<\\<)[.?]*",
|
|
1071
1071
|
"name": "keyword.symbol.fsharp"
|
|
1072
1072
|
}
|
|
1073
1073
|
]
|
package/grammars/go.json
CHANGED
|
@@ -2234,29 +2234,6 @@
|
|
|
2234
2234
|
}
|
|
2235
2235
|
]
|
|
2236
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
|
-
},
|
|
2260
2237
|
{
|
|
2261
2238
|
"include": "#parameter-variable-types"
|
|
2262
2239
|
}
|
|
@@ -2391,7 +2368,7 @@
|
|
|
2391
2368
|
}
|
|
2392
2369
|
},
|
|
2393
2370
|
"comment": "one type only",
|
|
2394
|
-
"match": "(?:((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(
|
|
2371
|
+
"match": "(?:((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\w\\.\\*]+)\\s*)(?:(?=\\`|\\/|\")|$))"
|
|
2395
2372
|
},
|
|
2396
2373
|
{
|
|
2397
2374
|
"captures": {
|
|
@@ -2422,7 +2399,7 @@
|
|
|
2422
2399
|
}
|
|
2423
2400
|
},
|
|
2424
2401
|
"comment": "property variables and types",
|
|
2425
|
-
"match": "(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))([
|
|
2402
|
+
"match": "(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))([^\\`\"\\/]+))"
|
|
2426
2403
|
}
|
|
2427
2404
|
]
|
|
2428
2405
|
},
|