tm-grammars 1.11.2 → 1.11.3
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 +3 -5
- package/README.md +3 -3
- package/grammars/kusto.json +1 -1
- package/grammars/nix.json +5 -5
- package/grammars/vue.json +32 -0
- package/index.js +14 -13
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -5521,12 +5521,12 @@ THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
5521
5521
|
|
|
5522
5522
|
=========================================================================================================
|
|
5523
5523
|
Files: nix.json
|
|
5524
|
-
License: https://raw.githubusercontent.com/
|
|
5524
|
+
License: https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE
|
|
5525
5525
|
SPDX: MIT
|
|
5526
5526
|
---------------------------------------------------------------------------------------------------------
|
|
5527
|
-
|
|
5527
|
+
MIT License
|
|
5528
5528
|
|
|
5529
|
-
Copyright (c)
|
|
5529
|
+
Copyright (c) 2020 noor
|
|
5530
5530
|
|
|
5531
5531
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5532
5532
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -5545,8 +5545,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
5545
5545
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5546
5546
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5547
5547
|
SOFTWARE.
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
5548
|
=========================================================================================================
|
|
5551
5549
|
Files: nushell.json
|
|
5552
5550
|
License: https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE
|
package/README.md
CHANGED
|
@@ -119,7 +119,7 @@ import { grammars } from 'tm-grammars'
|
|
|
119
119
|
| `jsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 173.35 kB |
|
|
120
120
|
| `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
121
|
| `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
|
-
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/
|
|
122
|
+
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/0470269a8381eb43b6e54eb5b5ab6b39e44ebfb8/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.24 kB |
|
|
123
123
|
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/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.88 kB |
|
|
124
124
|
| `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
125
|
| `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 |
|
|
@@ -139,7 +139,7 @@ import { grammars } from 'tm-grammars'
|
|
|
139
139
|
| `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/7eeb9be8d01556b7c51c59307275c2f720f2ddf4/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md) | | 4.40 kB |
|
|
140
140
|
| `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | `lua` | 34.14 kB |
|
|
141
141
|
| `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 21.82 kB |
|
|
142
|
-
| `nix` | | [
|
|
142
|
+
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/cd420d0bcea26cf1cf650f47c738bd1b6658a80c/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | | 14.36 kB |
|
|
143
143
|
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/359e3a69c516c996e5bcd7161290f78feaebbbfb/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | 18.38 kB |
|
|
144
144
|
| `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 103.61 kB |
|
|
145
145
|
| `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 168.52 kB |
|
|
@@ -211,7 +211,7 @@ import { grammars } from 'tm-grammars'
|
|
|
211
211
|
| `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.55 kB |
|
|
212
212
|
| `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) | | 23.66 kB |
|
|
213
213
|
| `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.19 kB |
|
|
214
|
-
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/
|
|
214
|
+
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/3fea0639cec1cf7414ef94c27c9b7416206fd101/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.78 kB |
|
|
215
215
|
| `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 |
|
|
216
216
|
| `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/e8876a573f1e6b5b11d6176538a5c342d39af0f8/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 96.99 kB |
|
|
217
217
|
| `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.03 kB |
|
package/grammars/kusto.json
CHANGED
package/grammars/nix.json
CHANGED
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"end": "(?=([\\])};]|\\b(else|then)\\b))",
|
|
258
258
|
"patterns": [
|
|
259
259
|
{
|
|
260
|
-
"begin": "(?=(\\s*\\}|\\\"|\\binherit\\b|\\b[a-zA-Z\\_][a-zA-Z0-9\\_\\'\\-]*(\\s*\\.|\\s*=[^=])))",
|
|
260
|
+
"begin": "(?=(\\s*\\}|\\\"|\\binherit\\b|\\$\\{|\\b[a-zA-Z\\_][a-zA-Z0-9\\_\\'\\-]*(\\s*\\.|\\s*=[^=])))",
|
|
261
261
|
"end": "(?=([\\])};,]|\\b(else|then)\\b))",
|
|
262
262
|
"patterns": [
|
|
263
263
|
{
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
]
|
|
356
356
|
},
|
|
357
357
|
"bad-reserved": {
|
|
358
|
-
"match": "\\
|
|
358
|
+
"match": "(?<![\\w'-])(if|then|else|assert|with|let|in|rec|inherit)(?![\\w'-])",
|
|
359
359
|
"name": "invalid.illegal.reserved.nix"
|
|
360
360
|
},
|
|
361
361
|
"comment": {
|
|
@@ -891,7 +891,7 @@
|
|
|
891
891
|
"name": "punctuation.section.embedded.end.nix"
|
|
892
892
|
}
|
|
893
893
|
},
|
|
894
|
-
"name": "
|
|
894
|
+
"name": "meta.embedded",
|
|
895
895
|
"patterns": [
|
|
896
896
|
{
|
|
897
897
|
"include": "#expression"
|
|
@@ -1111,7 +1111,7 @@
|
|
|
1111
1111
|
]
|
|
1112
1112
|
},
|
|
1113
1113
|
{
|
|
1114
|
-
"begin": "([a-zA-Z0-9\\.\\_\\-\\+]*(\\/[a-zA-Z0-9\\.\\_\\-\\+]+)+)",
|
|
1114
|
+
"begin": "(~?[a-zA-Z0-9\\.\\_\\-\\+]*(\\/[a-zA-Z0-9\\.\\_\\-\\+]+)+)",
|
|
1115
1115
|
"beginCaptures": {
|
|
1116
1116
|
"0": {
|
|
1117
1117
|
"name": "string.unquoted.path.nix"
|
|
@@ -1182,7 +1182,7 @@
|
|
|
1182
1182
|
"match": "\\s+"
|
|
1183
1183
|
},
|
|
1184
1184
|
"with-assert": {
|
|
1185
|
-
"begin": "\\
|
|
1185
|
+
"begin": "(?<![\\w'-])(with|assert)(?![\\w'-])",
|
|
1186
1186
|
"beginCaptures": {
|
|
1187
1187
|
"0": {
|
|
1188
1188
|
"name": "keyword.other.nix"
|
package/grammars/vue.json
CHANGED
|
@@ -438,6 +438,38 @@
|
|
|
438
438
|
}
|
|
439
439
|
]
|
|
440
440
|
},
|
|
441
|
+
{
|
|
442
|
+
"begin": "([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)coffee\\b\\2)",
|
|
443
|
+
"beginCaptures": {
|
|
444
|
+
"1": {
|
|
445
|
+
"name": "entity.name.tag.$1.html.vue"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"end": "(</)(\\1)\\s*(?=>)",
|
|
449
|
+
"endCaptures": {
|
|
450
|
+
"1": {
|
|
451
|
+
"name": "punctuation.definition.tag.begin.html.vue"
|
|
452
|
+
},
|
|
453
|
+
"2": {
|
|
454
|
+
"name": "entity.name.tag.$2.html.vue"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"patterns": [
|
|
458
|
+
{
|
|
459
|
+
"include": "#tag-stuff"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"begin": "(?<=>)",
|
|
463
|
+
"end": "(?=<\\/)",
|
|
464
|
+
"name": "source.coffee",
|
|
465
|
+
"patterns": [
|
|
466
|
+
{
|
|
467
|
+
"include": "source.coffee"
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
},
|
|
441
473
|
{
|
|
442
474
|
"begin": "([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)json\\b\\2)",
|
|
443
475
|
"beginCaptures": {
|
package/index.js
CHANGED
|
@@ -1565,13 +1565,13 @@ export const grammars = [
|
|
|
1565
1565
|
aliases: [
|
|
1566
1566
|
'kql',
|
|
1567
1567
|
],
|
|
1568
|
-
byteSize:
|
|
1568
|
+
byteSize: 19702,
|
|
1569
1569
|
displayName: 'Kusto',
|
|
1570
|
-
lastUpdate: '
|
|
1570
|
+
lastUpdate: '2024-05-13T03:27:46Z',
|
|
1571
1571
|
name: 'kusto',
|
|
1572
1572
|
scopeName: 'source.kusto',
|
|
1573
|
-
sha: '
|
|
1574
|
-
source: 'https://github.com/rosshamish/kuskus/blob/
|
|
1573
|
+
sha: '0470269a8381eb43b6e54eb5b5ab6b39e44ebfb8',
|
|
1574
|
+
source: 'https://github.com/rosshamish/kuskus/blob/0470269a8381eb43b6e54eb5b5ab6b39e44ebfb8/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json',
|
|
1575
1575
|
},
|
|
1576
1576
|
{
|
|
1577
1577
|
byteSize: 55169,
|
|
@@ -1975,15 +1975,15 @@ export const grammars = [
|
|
|
1975
1975
|
source: 'https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json',
|
|
1976
1976
|
},
|
|
1977
1977
|
{
|
|
1978
|
-
byteSize:
|
|
1978
|
+
byteSize: 14708,
|
|
1979
1979
|
displayName: 'Nix',
|
|
1980
|
-
lastUpdate: '
|
|
1980
|
+
lastUpdate: '2022-04-17T09:05:16Z',
|
|
1981
1981
|
license: 'MIT',
|
|
1982
|
-
licenseUrl: 'https://raw.githubusercontent.com/
|
|
1982
|
+
licenseUrl: 'https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE',
|
|
1983
1983
|
name: 'nix',
|
|
1984
1984
|
scopeName: 'source.nix',
|
|
1985
|
-
sha: '
|
|
1986
|
-
source: 'https://github.com/
|
|
1985
|
+
sha: 'cd420d0bcea26cf1cf650f47c738bd1b6658a80c',
|
|
1986
|
+
source: 'https://github.com/nix-community/vscode-nix-ide/blob/cd420d0bcea26cf1cf650f47c738bd1b6658a80c/syntaxes/nix.YAML-tmLanguage',
|
|
1987
1987
|
},
|
|
1988
1988
|
{
|
|
1989
1989
|
aliases: [
|
|
@@ -3036,7 +3036,7 @@ export const grammars = [
|
|
|
3036
3036
|
source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
|
|
3037
3037
|
},
|
|
3038
3038
|
{
|
|
3039
|
-
byteSize:
|
|
3039
|
+
byteSize: 17178,
|
|
3040
3040
|
categories: [
|
|
3041
3041
|
'web',
|
|
3042
3042
|
],
|
|
@@ -3054,6 +3054,7 @@ export const grammars = [
|
|
|
3054
3054
|
'typescript',
|
|
3055
3055
|
'jsx',
|
|
3056
3056
|
'tsx',
|
|
3057
|
+
'coffee',
|
|
3057
3058
|
'json',
|
|
3058
3059
|
'jsonc',
|
|
3059
3060
|
'json5',
|
|
@@ -3066,13 +3067,13 @@ export const grammars = [
|
|
|
3066
3067
|
'vue-interpolations',
|
|
3067
3068
|
'vue-sfc-style-variable-injection',
|
|
3068
3069
|
],
|
|
3069
|
-
lastUpdate: '
|
|
3070
|
+
lastUpdate: '2024-05-13T17:43:43Z',
|
|
3070
3071
|
license: 'MIT',
|
|
3071
3072
|
licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
|
|
3072
3073
|
name: 'vue',
|
|
3073
3074
|
scopeName: 'source.vue',
|
|
3074
|
-
sha: '
|
|
3075
|
-
source: 'https://github.com/vuejs/language-tools/blob/
|
|
3075
|
+
sha: '3fea0639cec1cf7414ef94c27c9b7416206fd101',
|
|
3076
|
+
source: 'https://github.com/vuejs/language-tools/blob/3fea0639cec1cf7414ef94c27c9b7416206fd101/extensions/vscode/syntaxes/vue.tmLanguage.json',
|
|
3076
3077
|
},
|
|
3077
3078
|
{
|
|
3078
3079
|
byteSize: 8255,
|