tm-grammars 1.24.22 → 1.24.23
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 +1 -1
- package/grammars/fish.json +93 -12
- package/index.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ import { grammars } from 'tm-grammars'
|
|
|
76
76
|
| `erb` | | [textmate/ruby.tmbundle](https://github.com/textmate/ruby.tmbundle/blob/ecf0f1df23984bcff9b51552e35d9696cb0d9539/Syntaxes/HTML%20(Ruby%20-%20ERB).tmLanguage) | | | `html` `ruby` | 1.90 kB |
|
|
77
77
|
| `erlang` | `erl` | [erlang-ls/grammar](https://github.com/erlang-ls/grammar/blob/fe898becd3004bcb4947ab50d6b6b830fbfb9228/Erlang.plist) | [Apache-2.0](https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE) | | `markdown` | 35.64 kB |
|
|
78
78
|
| `fennel` | | [kongeor/vsc-fennel](https://github.com/kongeor/vsc-fennel/blob/664148923d7bd72531120d0cba712c6dba6f698d/syntaxes/fennel.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/kongeor/vsc-fennel/master/LICENSE) | | | 4.53 kB |
|
|
79
|
-
| `fish` | | [bmalehorn/vscode-fish](https://github.com/bmalehorn/vscode-fish/blob/
|
|
79
|
+
| `fish` | | [bmalehorn/vscode-fish](https://github.com/bmalehorn/vscode-fish/blob/8288b88c46ebe1ef2876fd4275450fc80c5a176a/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | | 12.27 kB |
|
|
80
80
|
| `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.38 kB |
|
|
81
81
|
| `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` | 903.00 B |
|
|
82
82
|
| `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) | | | 82.16 kB |
|
package/grammars/fish.json
CHANGED
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"patterns": [
|
|
82
82
|
{
|
|
83
83
|
"match": "\\\\[] \"#$\\&-*;<>?\\[^abefnrtv{-~]",
|
|
84
|
-
"name": "constant.character.escape.
|
|
84
|
+
"name": "constant.character.escape.string.fish"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"match": "\\\\x\\h{1,2}",
|
|
@@ -206,17 +206,14 @@
|
|
|
206
206
|
"end": "(?<!\\\\)((\\\\\\\\)*)(])",
|
|
207
207
|
"endCaptures": {
|
|
208
208
|
"1": {
|
|
209
|
-
"name": "constant.character.escape.
|
|
209
|
+
"name": "constant.character.escape.string.fish"
|
|
210
210
|
},
|
|
211
211
|
"3": {
|
|
212
212
|
"name": "punctuation.definition.slice.end.fish"
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
|
-
"name": "meta.embedded.slice.fish",
|
|
215
|
+
"name": "meta.embedded.slice.fish variable.interpolation.fish",
|
|
216
216
|
"patterns": [
|
|
217
|
-
{
|
|
218
|
-
"include": "#slice-range-operator"
|
|
219
|
-
},
|
|
220
217
|
{
|
|
221
218
|
"include": "#string-double"
|
|
222
219
|
},
|
|
@@ -237,9 +234,35 @@
|
|
|
237
234
|
}
|
|
238
235
|
]
|
|
239
236
|
},
|
|
240
|
-
"slice-
|
|
241
|
-
"
|
|
242
|
-
"
|
|
237
|
+
"slice-string-double": {
|
|
238
|
+
"begin": "\\[",
|
|
239
|
+
"beginCaptures": {
|
|
240
|
+
"0": {
|
|
241
|
+
"name": "punctuation.definition.slice.begin.fish"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"end": "(?<!\\\\)((\\\\\\\\)*)(])",
|
|
245
|
+
"endCaptures": {
|
|
246
|
+
"1": {
|
|
247
|
+
"name": "constant.character.escape.string.fish"
|
|
248
|
+
},
|
|
249
|
+
"3": {
|
|
250
|
+
"name": "punctuation.definition.slice.end.fish"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"name": "meta.embedded.slice.fish variable.interpolation.string.fish",
|
|
254
|
+
"patterns": [
|
|
255
|
+
{
|
|
256
|
+
"include": "#subshell"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"include": "#variable"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"match": "\\\\([\"$]|$|\\\\)",
|
|
263
|
+
"name": "constant.character.escape.fish"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
243
266
|
},
|
|
244
267
|
"string-double": {
|
|
245
268
|
"begin": "\"",
|
|
@@ -260,7 +283,7 @@
|
|
|
260
283
|
"include": "#subshell"
|
|
261
284
|
},
|
|
262
285
|
{
|
|
263
|
-
"include": "#variable"
|
|
286
|
+
"include": "#variable-string-double"
|
|
264
287
|
},
|
|
265
288
|
{
|
|
266
289
|
"match": "\\\\([\"$]|$|\\\\)",
|
|
@@ -299,7 +322,7 @@
|
|
|
299
322
|
"end": "(?<!\\\\)((\\\\\\\\)*)(\\))",
|
|
300
323
|
"endCaptures": {
|
|
301
324
|
"1": {
|
|
302
|
-
"name": "constant.character.escape.
|
|
325
|
+
"name": "constant.character.escape.string.fish"
|
|
303
326
|
},
|
|
304
327
|
"3": {
|
|
305
328
|
"name": "punctuation.definition.subshell.end.fish"
|
|
@@ -352,7 +375,7 @@
|
|
|
352
375
|
"end": "(?<!\\\\)((\\\\\\\\)*)(\\))",
|
|
353
376
|
"endCaptures": {
|
|
354
377
|
"1": {
|
|
355
|
-
"name": "constant.character.escape.
|
|
378
|
+
"name": "constant.character.escape.string.fish"
|
|
356
379
|
},
|
|
357
380
|
"3": {
|
|
358
381
|
"name": "punctuation.definition.subshell.end.fish"
|
|
@@ -455,6 +478,64 @@
|
|
|
455
478
|
"name": "variable.other.normal.fish"
|
|
456
479
|
}
|
|
457
480
|
]
|
|
481
|
+
},
|
|
482
|
+
"variable-string-double": {
|
|
483
|
+
"patterns": [
|
|
484
|
+
{
|
|
485
|
+
"begin": "(\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\b(?=\\[)",
|
|
486
|
+
"beginCaptures": {
|
|
487
|
+
"1": {
|
|
488
|
+
"name": "punctuation.definition.variable.fish"
|
|
489
|
+
},
|
|
490
|
+
"2": {
|
|
491
|
+
"name": "variable.language.fish"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"end": "(?<=])",
|
|
495
|
+
"name": "variable.language.fish",
|
|
496
|
+
"patterns": [
|
|
497
|
+
{
|
|
498
|
+
"include": "#slice-string-double"
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"captures": {
|
|
504
|
+
"1": {
|
|
505
|
+
"name": "punctuation.definition.variable.fish"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"match": "(\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\b",
|
|
509
|
+
"name": "variable.language.fish"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"begin": "(\\$)([A-Z_a-z][0-9A-Z_a-z]*)(?=\\[)",
|
|
513
|
+
"beginCaptures": {
|
|
514
|
+
"1": {
|
|
515
|
+
"name": "punctuation.definition.variable.fish"
|
|
516
|
+
},
|
|
517
|
+
"2": {
|
|
518
|
+
"name": "variable.other.normal.fish"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"end": "(?<=])",
|
|
522
|
+
"name": "variable.other.normal.fish",
|
|
523
|
+
"patterns": [
|
|
524
|
+
{
|
|
525
|
+
"include": "#slice-string-double"
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"captures": {
|
|
531
|
+
"1": {
|
|
532
|
+
"name": "punctuation.definition.variable.fish"
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"match": "(\\$)[A-Z_a-z][0-9A-Z_a-z]*",
|
|
536
|
+
"name": "variable.other.normal.fish"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
458
539
|
}
|
|
459
540
|
},
|
|
460
541
|
"scopeName": "source.fish"
|
package/index.js
CHANGED
|
@@ -1167,22 +1167,22 @@ export const grammars = [
|
|
|
1167
1167
|
sourceApi: 'https://api.github.com/repos/kongeor/vsc-fennel/contents/syntaxes/fennel.tmLanguage.json?ref=664148923d7bd72531120d0cba712c6dba6f698d',
|
|
1168
1168
|
},
|
|
1169
1169
|
{
|
|
1170
|
-
byteSize:
|
|
1170
|
+
byteSize: 12564,
|
|
1171
1171
|
categories: [
|
|
1172
1172
|
'scripting',
|
|
1173
1173
|
],
|
|
1174
1174
|
displayName: 'Fish',
|
|
1175
1175
|
funding: [
|
|
1176
1176
|
],
|
|
1177
|
-
hash: '
|
|
1178
|
-
lastUpdate: '2025-10-
|
|
1177
|
+
hash: '68SUiD2IwZiNxjl87FA_EMXyoA-ocCvZ2JE9WGnywZ8',
|
|
1178
|
+
lastUpdate: '2025-10-16T05:22:48Z',
|
|
1179
1179
|
license: 'MIT',
|
|
1180
1180
|
licenseUrl: 'https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE',
|
|
1181
1181
|
name: 'fish',
|
|
1182
1182
|
scopeName: 'source.fish',
|
|
1183
|
-
sha: '
|
|
1184
|
-
source: 'https://github.com/bmalehorn/vscode-fish/blob/
|
|
1185
|
-
sourceApi: 'https://api.github.com/repos/bmalehorn/vscode-fish/contents/syntaxes/fish.tmLanguage.json?ref=
|
|
1183
|
+
sha: '8288b88c46ebe1ef2876fd4275450fc80c5a176a',
|
|
1184
|
+
source: 'https://github.com/bmalehorn/vscode-fish/blob/8288b88c46ebe1ef2876fd4275450fc80c5a176a/syntaxes/fish.tmLanguage.json',
|
|
1185
|
+
sourceApi: 'https://api.github.com/repos/bmalehorn/vscode-fish/contents/syntaxes/fish.tmLanguage.json?ref=8288b88c46ebe1ef2876fd4275450fc80c5a176a',
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
1188
|
aliases: [
|