tm-grammars 1.17.0 → 1.17.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 +2 -2
- package/grammars/gleam.json +14 -16
- package/index.js +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ import { grammars } from 'tm-grammars'
|
|
|
86
86
|
| `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 |
|
|
87
87
|
| `git-commit` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8c3f89468fea14103d8790d59ea8594d6e644eb/extensions/git-base/syntaxes/git-commit.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `diff` | 1.36 kB |
|
|
88
88
|
| `git-rebase` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `shellscript` | 818.00 B |
|
|
89
|
-
| `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/
|
|
89
|
+
| `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/6ed1e8a5acb5c4dbe2d44fe7d01d835ddc09cc9e/syntaxes/gleam.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt) | | 2.47 kB |
|
|
90
90
|
| `glimmer-js` | `gjs` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gjs.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `javascript` `typescript` `css` `html` | 19.08 kB |
|
|
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.08 kB |
|
|
92
92
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
@@ -159,7 +159,7 @@ import { grammars } from 'tm-grammars'
|
|
|
159
159
|
| `powershell` | `ps` `ps1` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9efc116de0ea4998616ebe3b17ee5b92f7dc1161/extensions/powershell/syntaxes/powershell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 21.12 kB |
|
|
160
160
|
| `prisma` | | [prisma/language-tools](https://github.com/prisma/language-tools/blob/d79f9eebfc097c05040504c5aaabbac626b03706/packages/vscode/syntaxes/prisma.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/prisma/language-tools/main/LICENSE) | | 5.80 kB |
|
|
161
161
|
| `prolog` | | [arthwang/vsc-prolog](https://github.com/arthwang/vsc-prolog/blob/5e15f731d5ef8e0f3974589b84ddefe6a2bf78c7/syntaxes/prolog.swi.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/arthwang/vsc-prolog/master/LICENSE.txt) | | 11.02 kB |
|
|
162
|
-
| `proto` |
|
|
162
|
+
| `proto` | `protobuf` | [zxh0/vscode-proto3](https://github.com/zxh0/vscode-proto3/blob/ead0fb5f46a56adbe30d5a8a63d68e7131912159/syntaxes/proto3.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/zxh0/vscode-proto3/master/LICENSE.txt) | | 6.13 kB |
|
|
163
163
|
| `pug` | `jade` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/pug/syntaxes/pug.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` `sass` `scss` `stylus` `coffee` `html` | 13.69 kB |
|
|
164
164
|
| `puppet` | | [octref/puppet-vscode](https://github.com/octref/puppet-vscode/blob/42e02ef6c02aefb0dcf03f8367fdc106d7213a6c/syntaxes/puppet.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/octref/puppet-vscode/main/LICENSE) | | 11.34 kB |
|
|
165
165
|
| `purescript` | | [nwolverson/vscode-language-purescript](https://github.com/nwolverson/vscode-language-purescript/blob/07a2aa7ad8c77e84de327fb5aa19d74b86df60f8/syntaxes/purescript.json) | [NOASSERTION](https://raw.githubusercontent.com/nwolverson/vscode-language-purescript/master/LICENSE.md) | | 15.50 kB |
|
package/grammars/gleam.json
CHANGED
|
@@ -23,17 +23,11 @@
|
|
|
23
23
|
],
|
|
24
24
|
"repository": {
|
|
25
25
|
"binary_number": {
|
|
26
|
-
"match": "\\b0[bB]
|
|
26
|
+
"match": "\\b0[bB]0*1[01_]*\\b",
|
|
27
27
|
"name": "constant.numeric.binary.gleam",
|
|
28
28
|
"patterns": [
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
|
-
"boolean": {
|
|
32
|
-
"match": "\\b(True|False)\\b",
|
|
33
|
-
"name": "constant.language.boolean.gleam",
|
|
34
|
-
"patterns": [
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
31
|
"comments": {
|
|
38
32
|
"patterns": [
|
|
39
33
|
{
|
|
@@ -60,13 +54,13 @@
|
|
|
60
54
|
"include": "#boolean"
|
|
61
55
|
},
|
|
62
56
|
{
|
|
63
|
-
"match": "[[:upper:]][[:
|
|
57
|
+
"match": "[[:upper:]][[:alnum:]]*",
|
|
64
58
|
"name": "entity.name.type.gleam"
|
|
65
59
|
}
|
|
66
60
|
]
|
|
67
61
|
},
|
|
68
62
|
"decimal_number": {
|
|
69
|
-
"match": "\\b[
|
|
63
|
+
"match": "\\b(0*[1-9][0-9_]*|0)(\\.(0*[1-9][0-9_]*|0)?(e-?0*[1-9][0-9]*)?)?\\b",
|
|
70
64
|
"name": "constant.numeric.decimal.gleam",
|
|
71
65
|
"patterns": [
|
|
72
66
|
]
|
|
@@ -78,7 +72,7 @@
|
|
|
78
72
|
"entity": {
|
|
79
73
|
"patterns": [
|
|
80
74
|
{
|
|
81
|
-
"begin": "\\b([[:lower:]][[:word:]]*)
|
|
75
|
+
"begin": "\\b([[:lower:]][[:word:]]*)\\b[[:space:]]*\\(",
|
|
82
76
|
"captures": {
|
|
83
77
|
"1": {
|
|
84
78
|
"name": "entity.name.function.gleam"
|
|
@@ -102,7 +96,7 @@
|
|
|
102
96
|
]
|
|
103
97
|
},
|
|
104
98
|
"hexadecimal_number": {
|
|
105
|
-
"match": "\\b0[xX]
|
|
99
|
+
"match": "\\b0[xX]0*[1-9a-zA-Z][0-9a-zA-Z]*\\b",
|
|
106
100
|
"name": "constant.numeric.hexadecimal.gleam",
|
|
107
101
|
"patterns": [
|
|
108
102
|
]
|
|
@@ -110,7 +104,7 @@
|
|
|
110
104
|
"keywords": {
|
|
111
105
|
"patterns": [
|
|
112
106
|
{
|
|
113
|
-
"match": "\\b(as|use|case|if|fn|import|let|assert|pub|type|opaque|const|todo|panic)\\b",
|
|
107
|
+
"match": "\\b(as|use|case|if|fn|import|let|assert|pub|type|opaque|const|todo|panic|else|try)\\b",
|
|
114
108
|
"name": "keyword.control.gleam"
|
|
115
109
|
},
|
|
116
110
|
{
|
|
@@ -126,11 +120,15 @@
|
|
|
126
120
|
"name": "keyword.operator.splat.gleam"
|
|
127
121
|
},
|
|
128
122
|
{
|
|
129
|
-
"match": "(
|
|
123
|
+
"match": "(==|!=)",
|
|
124
|
+
"name": "keyword.operator.comparison.gleam"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"match": "(<=\\.|>=\\.|<\\.|>\\.)",
|
|
130
128
|
"name": "keyword.operator.comparison.float.gleam"
|
|
131
129
|
},
|
|
132
130
|
{
|
|
133
|
-
"match": "(
|
|
131
|
+
"match": "(<=|>=|<|>)",
|
|
134
132
|
"name": "keyword.operator.comparison.int.gleam"
|
|
135
133
|
},
|
|
136
134
|
{
|
|
@@ -146,7 +144,7 @@
|
|
|
146
144
|
"name": "keyword.operator.other.gleam"
|
|
147
145
|
},
|
|
148
146
|
{
|
|
149
|
-
"match": "(
|
|
147
|
+
"match": "(\\+\\.|\\-\\.|/\\.|\\*\\.)",
|
|
150
148
|
"name": "keyword.operator.arithmetic.float.gleam"
|
|
151
149
|
},
|
|
152
150
|
{
|
|
@@ -160,7 +158,7 @@
|
|
|
160
158
|
]
|
|
161
159
|
},
|
|
162
160
|
"octal_number": {
|
|
163
|
-
"match": "\\b0[oO]
|
|
161
|
+
"match": "\\b0[oO]0*[1-7][0-7]*\\b",
|
|
164
162
|
"name": "constant.numeric.octal.gleam",
|
|
165
163
|
"patterns": [
|
|
166
164
|
]
|
package/index.js
CHANGED
|
@@ -1014,15 +1014,15 @@ export const grammars = [
|
|
|
1014
1014
|
source: 'https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json',
|
|
1015
1015
|
},
|
|
1016
1016
|
{
|
|
1017
|
-
byteSize:
|
|
1017
|
+
byteSize: 2530,
|
|
1018
1018
|
displayName: 'Gleam',
|
|
1019
|
-
lastUpdate: '2024-
|
|
1019
|
+
lastUpdate: '2024-08-01T12:26:07Z',
|
|
1020
1020
|
license: 'Apache-2.0',
|
|
1021
1021
|
licenseUrl: 'https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt',
|
|
1022
1022
|
name: 'gleam',
|
|
1023
1023
|
scopeName: 'source.gleam',
|
|
1024
|
-
sha: '
|
|
1025
|
-
source: 'https://github.com/gleam-lang/vscode-gleam/blob/
|
|
1024
|
+
sha: '6ed1e8a5acb5c4dbe2d44fe7d01d835ddc09cc9e',
|
|
1025
|
+
source: 'https://github.com/gleam-lang/vscode-gleam/blob/6ed1e8a5acb5c4dbe2d44fe7d01d835ddc09cc9e/syntaxes/gleam.tmLanguage.json',
|
|
1026
1026
|
},
|
|
1027
1027
|
{
|
|
1028
1028
|
aliases: [
|
|
@@ -2265,6 +2265,9 @@ export const grammars = [
|
|
|
2265
2265
|
source: 'https://github.com/arthwang/vsc-prolog/blob/5e15f731d5ef8e0f3974589b84ddefe6a2bf78c7/syntaxes/prolog.swi.tmLanguage.json',
|
|
2266
2266
|
},
|
|
2267
2267
|
{
|
|
2268
|
+
aliases: [
|
|
2269
|
+
'protobuf',
|
|
2270
|
+
],
|
|
2268
2271
|
byteSize: 6280,
|
|
2269
2272
|
displayName: 'Protocol Buffer 3',
|
|
2270
2273
|
lastUpdate: '2022-02-08T19:51:15Z',
|