tm-grammars 1.11.2 → 1.12.0

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 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/bbenoist/vscode-nix/master/LICENSE.md
5524
+ License: https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE
5525
5525
  SPDX: MIT
5526
5526
  ---------------------------------------------------------------------------------------------------------
5527
- The MIT License (MIT)
5527
+ MIT License
5528
5528
 
5529
- Copyright (c) 2015 bbenoist
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
@@ -7195,6 +7193,33 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7195
7193
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7196
7194
  SOFTWARE.
7197
7195
 
7196
+ =========================================================================================================
7197
+ Files: regexp.json
7198
+ License: https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE
7199
+ SPDX: MIT
7200
+ ---------------------------------------------------------------------------------------------------------
7201
+ The MIT License
7202
+
7203
+ Copyright (c) 2015-present MagicStack Inc. http://magic.io
7204
+
7205
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7206
+ of this software and associated documentation files (the "Software"), to deal
7207
+ in the Software without restriction, including without limitation the rights
7208
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7209
+ copies of the Software, and to permit persons to whom the Software is
7210
+ furnished to do so, subject to the following conditions:
7211
+
7212
+ The above copyright notice and this permission notice shall be included in
7213
+ all copies or substantial portions of the Software.
7214
+
7215
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7216
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7217
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7218
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7219
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7220
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
7221
+ THE SOFTWARE.
7222
+
7198
7223
  =========================================================================================================
7199
7224
  Files: riscv.json
7200
7225
  License: https://raw.githubusercontent.com/zhuanhao-wu/vscode-riscv-support/master/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/638b8a9249c2c423bc263726661cde534b25adc7/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.23 kB |
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` | | [bbenoist/vscode-nix](https://github.com/bbenoist/vscode-nix/blob/9a7c81109624431e032d9b02c8029b13bc2000c8/syntaxes/nix.tmLanguage) | [MIT](https://raw.githubusercontent.com/bbenoist/vscode-nix/master/LICENSE.md) | | 14.32 kB |
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 |
@@ -167,6 +167,7 @@ import { grammars } from 'tm-grammars'
167
167
  | `raku` | `perl6` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.05 kB |
168
168
  | `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.50 kB |
169
169
  | `reg` | | [mihai-vlc/reg-vscode](https://github.com/mihai-vlc/reg-vscode/blob/896096fc6756329d82c71a913663a1c0ac678f74/syntaxes/reg.tmLanguage) | [MIT](https://raw.githubusercontent.com/mihai-vlc/reg-vscode/master/LICENSE) | | 2.20 kB |
170
+ | `regexp` | `regex` | [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython/blob/c9b3409deb69acec31bbf7913830e93a046b30cc/grammars/MagicRegExp.tmLanguage) | [MIT](https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE) | | 7.71 kB |
170
171
  | `rel` | | [relationalai-oss/rel_vscode](https://github.com/relationalai-oss/rel_vscode/blob/63dda4dee48c67b037357f47b562185484555ea9/syntaxes/rel.tmLanguage.json) | | | 3.18 kB |
171
172
  | `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) | | 7.04 kB |
172
173
  | `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 |
@@ -211,7 +212,7 @@ import { grammars } from 'tm-grammars'
211
212
  | `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
213
  | `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
214
  | `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/eac3fad39bb9cdd98f3b18031fb7c09e9701192b/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` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 16.37 kB |
215
+ | `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
216
  | `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
217
  | `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
218
  | `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 |
@@ -614,7 +614,7 @@
614
614
  "Escapes": {
615
615
  "patterns": [
616
616
  {
617
- "match": "\\\\['\"]",
617
+ "match": "(\\\\['\"]|\\\\\\\\)",
618
618
  "name": "constant.character.escape.kusto"
619
619
  }
620
620
  ]
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": "\\b(if|then|else|assert|with|let|in|rec|inherit)\\b",
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": "markup.italic",
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": "\\b(with|assert)\\b",
1185
+ "begin": "(?<![\\w'-])(with|assert)(?![\\w'-])",
1186
1186
  "beginCaptures": {
1187
1187
  "0": {
1188
1188
  "name": "keyword.other.nix"
@@ -0,0 +1,495 @@
1
+ {
2
+ "displayName": "RegExp",
3
+ "fileTypes": [
4
+ "re"
5
+ ],
6
+ "name": "regexp",
7
+ "patterns": [
8
+ {
9
+ "include": "#regexp-expression"
10
+ }
11
+ ],
12
+ "repository": {
13
+ "codetags": {
14
+ "captures": {
15
+ "1": {
16
+ "name": "keyword.codetag.notation.python"
17
+ }
18
+ },
19
+ "match": "(?:\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\b)"
20
+ },
21
+ "fregexp-base-expression": {
22
+ "patterns": [
23
+ {
24
+ "include": "#fregexp-quantifier"
25
+ },
26
+ {
27
+ "include": "#fstring-formatting-braces"
28
+ },
29
+ {
30
+ "match": "\\{.*?\\}"
31
+ },
32
+ {
33
+ "include": "#regexp-base-common"
34
+ }
35
+ ]
36
+ },
37
+ "fregexp-quantifier": {
38
+ "match": "(?x)\n\\{\\{(\n\\d+ | \\d+,(\\d+)? | ,\\d+\n)\\}\\}\n",
39
+ "name": "keyword.operator.quantifier.regexp"
40
+ },
41
+ "fstring-formatting-braces": {
42
+ "patterns": [
43
+ {
44
+ "captures": {
45
+ "1": {
46
+ "name": "constant.character.format.placeholder.other.python"
47
+ },
48
+ "2": {
49
+ "name": "invalid.illegal.brace.python"
50
+ },
51
+ "3": {
52
+ "name": "constant.character.format.placeholder.other.python"
53
+ }
54
+ },
55
+ "comment": "empty braces are illegal",
56
+ "match": "({)(\\s*?)(})"
57
+ },
58
+ {
59
+ "match": "({{|}})",
60
+ "name": "constant.character.escape.python"
61
+ }
62
+ ]
63
+ },
64
+ "regexp-backreference": {
65
+ "captures": {
66
+ "1": {
67
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.begin.regexp"
68
+ },
69
+ "2": {
70
+ "name": "entity.name.tag.named.backreference.regexp"
71
+ },
72
+ "3": {
73
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"
74
+ }
75
+ },
76
+ "match": "(?x)\n(\\() (\\?P= \\w+(?:\\s+[[:alnum:]]+)?) (\\))\n",
77
+ "name": "meta.backreference.named.regexp"
78
+ },
79
+ "regexp-backreference-number": {
80
+ "captures": {
81
+ "1": {
82
+ "name": "entity.name.tag.backreference.regexp"
83
+ }
84
+ },
85
+ "match": "(\\\\[1-9]\\d?)",
86
+ "name": "meta.backreference.regexp"
87
+ },
88
+ "regexp-base-common": {
89
+ "patterns": [
90
+ {
91
+ "match": "\\.",
92
+ "name": "support.other.match.any.regexp"
93
+ },
94
+ {
95
+ "match": "\\^",
96
+ "name": "support.other.match.begin.regexp"
97
+ },
98
+ {
99
+ "match": "\\$",
100
+ "name": "support.other.match.end.regexp"
101
+ },
102
+ {
103
+ "match": "[+*?]\\??",
104
+ "name": "keyword.operator.quantifier.regexp"
105
+ },
106
+ {
107
+ "match": "\\|",
108
+ "name": "keyword.operator.disjunction.regexp"
109
+ },
110
+ {
111
+ "include": "#regexp-escape-sequence"
112
+ }
113
+ ]
114
+ },
115
+ "regexp-base-expression": {
116
+ "patterns": [
117
+ {
118
+ "include": "#regexp-quantifier"
119
+ },
120
+ {
121
+ "include": "#regexp-base-common"
122
+ }
123
+ ]
124
+ },
125
+ "regexp-character-set": {
126
+ "patterns": [
127
+ {
128
+ "match": "(?x)\n\\[ \\^? \\] (?! .*?\\])\n"
129
+ },
130
+ {
131
+ "begin": "(\\[)(\\^)?(\\])?",
132
+ "beginCaptures": {
133
+ "1": {
134
+ "name": "punctuation.character.set.begin.regexp constant.other.set.regexp"
135
+ },
136
+ "2": {
137
+ "name": "keyword.operator.negation.regexp"
138
+ },
139
+ "3": {
140
+ "name": "constant.character.set.regexp"
141
+ }
142
+ },
143
+ "end": "(\\])",
144
+ "endCaptures": {
145
+ "1": {
146
+ "name": "punctuation.character.set.end.regexp constant.other.set.regexp"
147
+ },
148
+ "2": {
149
+ "name": "invalid.illegal.newline.python"
150
+ }
151
+ },
152
+ "name": "meta.character.set.regexp",
153
+ "patterns": [
154
+ {
155
+ "include": "#regexp-charecter-set-escapes"
156
+ },
157
+ {
158
+ "match": "[^\\n]",
159
+ "name": "constant.character.set.regexp"
160
+ }
161
+ ]
162
+ }
163
+ ]
164
+ },
165
+ "regexp-charecter-set-escapes": {
166
+ "patterns": [
167
+ {
168
+ "match": "\\\\[abfnrtv\\\\]",
169
+ "name": "constant.character.escape.regexp"
170
+ },
171
+ {
172
+ "include": "#regexp-escape-special"
173
+ },
174
+ {
175
+ "match": "\\\\([0-7]{1,3})",
176
+ "name": "constant.character.escape.regexp"
177
+ },
178
+ {
179
+ "include": "#regexp-escape-character"
180
+ },
181
+ {
182
+ "include": "#regexp-escape-unicode"
183
+ },
184
+ {
185
+ "include": "#regexp-escape-catchall"
186
+ }
187
+ ]
188
+ },
189
+ "regexp-comments": {
190
+ "begin": "\\(\\?#",
191
+ "beginCaptures": {
192
+ "0": {
193
+ "name": "punctuation.comment.begin.regexp"
194
+ }
195
+ },
196
+ "end": "(\\))",
197
+ "endCaptures": {
198
+ "1": {
199
+ "name": "punctuation.comment.end.regexp"
200
+ },
201
+ "2": {
202
+ "name": "invalid.illegal.newline.python"
203
+ }
204
+ },
205
+ "name": "comment.regexp",
206
+ "patterns": [
207
+ {
208
+ "include": "#codetags"
209
+ }
210
+ ]
211
+ },
212
+ "regexp-conditional": {
213
+ "begin": "(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",
214
+ "beginCaptures": {
215
+ "0": {
216
+ "name": "keyword.operator.conditional.regexp"
217
+ },
218
+ "1": {
219
+ "name": "punctuation.parenthesis.conditional.begin.regexp"
220
+ }
221
+ },
222
+ "end": "(\\))",
223
+ "endCaptures": {
224
+ "1": {
225
+ "name": "keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"
226
+ },
227
+ "2": {
228
+ "name": "invalid.illegal.newline.python"
229
+ }
230
+ },
231
+ "patterns": [
232
+ {
233
+ "include": "#regexp-expression"
234
+ }
235
+ ]
236
+ },
237
+ "regexp-escape-catchall": {
238
+ "match": "\\\\(.|\\n)",
239
+ "name": "constant.character.escape.regexp"
240
+ },
241
+ "regexp-escape-character": {
242
+ "match": "(?x)\n\\\\ (\nx[0-9A-Fa-f]{2}\n| 0[0-7]{1,2}\n| [0-7]{3}\n)\n",
243
+ "name": "constant.character.escape.regexp"
244
+ },
245
+ "regexp-escape-sequence": {
246
+ "patterns": [
247
+ {
248
+ "include": "#regexp-escape-special"
249
+ },
250
+ {
251
+ "include": "#regexp-escape-character"
252
+ },
253
+ {
254
+ "include": "#regexp-escape-unicode"
255
+ },
256
+ {
257
+ "include": "#regexp-backreference-number"
258
+ },
259
+ {
260
+ "include": "#regexp-escape-catchall"
261
+ }
262
+ ]
263
+ },
264
+ "regexp-escape-special": {
265
+ "match": "\\\\([AbBdDsSwWZ])",
266
+ "name": "support.other.escape.special.regexp"
267
+ },
268
+ "regexp-escape-unicode": {
269
+ "match": "(?x)\n\\\\ (\nu[0-9A-Fa-f]{4}\n| U[0-9A-Fa-f]{8}\n)\n",
270
+ "name": "constant.character.unicode.regexp"
271
+ },
272
+ "regexp-expression": {
273
+ "patterns": [
274
+ {
275
+ "include": "#regexp-base-expression"
276
+ },
277
+ {
278
+ "include": "#regexp-character-set"
279
+ },
280
+ {
281
+ "include": "#regexp-comments"
282
+ },
283
+ {
284
+ "include": "#regexp-flags"
285
+ },
286
+ {
287
+ "include": "#regexp-named-group"
288
+ },
289
+ {
290
+ "include": "#regexp-backreference"
291
+ },
292
+ {
293
+ "include": "#regexp-lookahead"
294
+ },
295
+ {
296
+ "include": "#regexp-lookahead-negative"
297
+ },
298
+ {
299
+ "include": "#regexp-lookbehind"
300
+ },
301
+ {
302
+ "include": "#regexp-lookbehind-negative"
303
+ },
304
+ {
305
+ "include": "#regexp-conditional"
306
+ },
307
+ {
308
+ "include": "#regexp-parentheses-non-capturing"
309
+ },
310
+ {
311
+ "include": "#regexp-parentheses"
312
+ }
313
+ ]
314
+ },
315
+ "regexp-flags": {
316
+ "match": "\\(\\?[aiLmsux]+\\)",
317
+ "name": "storage.modifier.flag.regexp"
318
+ },
319
+ "regexp-lookahead": {
320
+ "begin": "(\\()\\?=",
321
+ "beginCaptures": {
322
+ "0": {
323
+ "name": "keyword.operator.lookahead.regexp"
324
+ },
325
+ "1": {
326
+ "name": "punctuation.parenthesis.lookahead.begin.regexp"
327
+ }
328
+ },
329
+ "end": "(\\))",
330
+ "endCaptures": {
331
+ "1": {
332
+ "name": "keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"
333
+ },
334
+ "2": {
335
+ "name": "invalid.illegal.newline.python"
336
+ }
337
+ },
338
+ "patterns": [
339
+ {
340
+ "include": "#regexp-expression"
341
+ }
342
+ ]
343
+ },
344
+ "regexp-lookahead-negative": {
345
+ "begin": "(\\()\\?!",
346
+ "beginCaptures": {
347
+ "0": {
348
+ "name": "keyword.operator.lookahead.negative.regexp"
349
+ },
350
+ "1": {
351
+ "name": "punctuation.parenthesis.lookahead.begin.regexp"
352
+ }
353
+ },
354
+ "end": "(\\))",
355
+ "endCaptures": {
356
+ "1": {
357
+ "name": "keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"
358
+ },
359
+ "2": {
360
+ "name": "invalid.illegal.newline.python"
361
+ }
362
+ },
363
+ "patterns": [
364
+ {
365
+ "include": "#regexp-expression"
366
+ }
367
+ ]
368
+ },
369
+ "regexp-lookbehind": {
370
+ "begin": "(\\()\\?<=",
371
+ "beginCaptures": {
372
+ "0": {
373
+ "name": "keyword.operator.lookbehind.regexp"
374
+ },
375
+ "1": {
376
+ "name": "punctuation.parenthesis.lookbehind.begin.regexp"
377
+ }
378
+ },
379
+ "end": "(\\))",
380
+ "endCaptures": {
381
+ "1": {
382
+ "name": "keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"
383
+ },
384
+ "2": {
385
+ "name": "invalid.illegal.newline.python"
386
+ }
387
+ },
388
+ "patterns": [
389
+ {
390
+ "include": "#regexp-expression"
391
+ }
392
+ ]
393
+ },
394
+ "regexp-lookbehind-negative": {
395
+ "begin": "(\\()\\?<!",
396
+ "beginCaptures": {
397
+ "0": {
398
+ "name": "keyword.operator.lookbehind.negative.regexp"
399
+ },
400
+ "1": {
401
+ "name": "punctuation.parenthesis.lookbehind.begin.regexp"
402
+ }
403
+ },
404
+ "end": "(\\))",
405
+ "endCaptures": {
406
+ "1": {
407
+ "name": "keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"
408
+ },
409
+ "2": {
410
+ "name": "invalid.illegal.newline.python"
411
+ }
412
+ },
413
+ "patterns": [
414
+ {
415
+ "include": "#regexp-expression"
416
+ }
417
+ ]
418
+ },
419
+ "regexp-named-group": {
420
+ "begin": "(?x)\n(\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",
421
+ "beginCaptures": {
422
+ "1": {
423
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"
424
+ },
425
+ "2": {
426
+ "name": "entity.name.tag.named.group.regexp"
427
+ }
428
+ },
429
+ "end": "(\\))",
430
+ "endCaptures": {
431
+ "1": {
432
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"
433
+ },
434
+ "2": {
435
+ "name": "invalid.illegal.newline.python"
436
+ }
437
+ },
438
+ "name": "meta.named.regexp",
439
+ "patterns": [
440
+ {
441
+ "include": "#regexp-expression"
442
+ }
443
+ ]
444
+ },
445
+ "regexp-parentheses": {
446
+ "begin": "\\(",
447
+ "beginCaptures": {
448
+ "0": {
449
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"
450
+ }
451
+ },
452
+ "end": "(\\))",
453
+ "endCaptures": {
454
+ "1": {
455
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"
456
+ },
457
+ "2": {
458
+ "name": "invalid.illegal.newline.python"
459
+ }
460
+ },
461
+ "patterns": [
462
+ {
463
+ "include": "#regexp-expression"
464
+ }
465
+ ]
466
+ },
467
+ "regexp-parentheses-non-capturing": {
468
+ "begin": "\\(\\?:",
469
+ "beginCaptures": {
470
+ "0": {
471
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"
472
+ }
473
+ },
474
+ "end": "(\\))",
475
+ "endCaptures": {
476
+ "1": {
477
+ "name": "support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"
478
+ },
479
+ "2": {
480
+ "name": "invalid.illegal.newline.python"
481
+ }
482
+ },
483
+ "patterns": [
484
+ {
485
+ "include": "#regexp-expression"
486
+ }
487
+ ]
488
+ },
489
+ "regexp-quantifier": {
490
+ "match": "(?x)\n\\{(\n\\d+ | \\d+,(\\d+)? | ,\\d+\n)\\}\n",
491
+ "name": "keyword.operator.quantifier.regexp"
492
+ }
493
+ },
494
+ "scopeName": "source.regexp.python"
495
+ }
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: 19691,
1568
+ byteSize: 19702,
1569
1569
  displayName: 'Kusto',
1570
- lastUpdate: '2022-09-27T22:38:03Z',
1570
+ lastUpdate: '2024-05-13T03:27:46Z',
1571
1571
  name: 'kusto',
1572
1572
  scopeName: 'source.kusto',
1573
- sha: '638b8a9249c2c423bc263726661cde534b25adc7',
1574
- source: 'https://github.com/rosshamish/kuskus/blob/638b8a9249c2c423bc263726661cde534b25adc7/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json',
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: 14665,
1978
+ byteSize: 14708,
1979
1979
  displayName: 'Nix',
1980
- lastUpdate: '2015-12-03T18:27:32Z',
1980
+ lastUpdate: '2022-04-17T09:05:16Z',
1981
1981
  license: 'MIT',
1982
- licenseUrl: 'https://raw.githubusercontent.com/bbenoist/vscode-nix/master/LICENSE.md',
1982
+ licenseUrl: 'https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE',
1983
1983
  name: 'nix',
1984
1984
  scopeName: 'source.nix',
1985
- sha: '9a7c81109624431e032d9b02c8029b13bc2000c8',
1986
- source: 'https://github.com/bbenoist/vscode-nix/blob/9a7c81109624431e032d9b02c8029b13bc2000c8/syntaxes/nix.tmLanguage',
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: [
@@ -2387,6 +2387,20 @@ export const grammars = [
2387
2387
  sha: '896096fc6756329d82c71a913663a1c0ac678f74',
2388
2388
  source: 'https://github.com/mihai-vlc/reg-vscode/blob/896096fc6756329d82c71a913663a1c0ac678f74/syntaxes/reg.tmLanguage',
2389
2389
  },
2390
+ {
2391
+ aliases: [
2392
+ 'regex',
2393
+ ],
2394
+ byteSize: 7900,
2395
+ displayName: 'RegExp',
2396
+ lastUpdate: '2020-02-16T01:06:09Z',
2397
+ license: 'MIT',
2398
+ licenseUrl: 'https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE',
2399
+ name: 'regexp',
2400
+ scopeName: 'source.regexp.python',
2401
+ sha: 'c9b3409deb69acec31bbf7913830e93a046b30cc',
2402
+ source: 'https://github.com/MagicStack/MagicPython/blob/c9b3409deb69acec31bbf7913830e93a046b30cc/grammars/MagicRegExp.tmLanguage',
2403
+ },
2390
2404
  {
2391
2405
  byteSize: 3260,
2392
2406
  displayName: 'Rel',
@@ -3036,7 +3050,7 @@ export const grammars = [
3036
3050
  source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
3037
3051
  },
3038
3052
  {
3039
- byteSize: 16759,
3053
+ byteSize: 17178,
3040
3054
  categories: [
3041
3055
  'web',
3042
3056
  ],
@@ -3054,6 +3068,7 @@ export const grammars = [
3054
3068
  'typescript',
3055
3069
  'jsx',
3056
3070
  'tsx',
3071
+ 'coffee',
3057
3072
  'json',
3058
3073
  'jsonc',
3059
3074
  'json5',
@@ -3066,13 +3081,13 @@ export const grammars = [
3066
3081
  'vue-interpolations',
3067
3082
  'vue-sfc-style-variable-injection',
3068
3083
  ],
3069
- lastUpdate: '2023-11-29T05:26:22Z',
3084
+ lastUpdate: '2024-05-13T17:43:43Z',
3070
3085
  license: 'MIT',
3071
3086
  licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
3072
3087
  name: 'vue',
3073
3088
  scopeName: 'source.vue',
3074
- sha: 'eac3fad39bb9cdd98f3b18031fb7c09e9701192b',
3075
- source: 'https://github.com/vuejs/language-tools/blob/eac3fad39bb9cdd98f3b18031fb7c09e9701192b/extensions/vscode/syntaxes/vue.tmLanguage.json',
3089
+ sha: '3fea0639cec1cf7414ef94c27c9b7416206fd101',
3090
+ source: 'https://github.com/vuejs/language-tools/blob/3fea0639cec1cf7414ef94c27c9b7416206fd101/extensions/vscode/syntaxes/vue.tmLanguage.json',
3076
3091
  },
3077
3092
  {
3078
3093
  byteSize: 8255,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.11.2",
4
+ "version": "1.12.0",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",