tm-grammars 1.24.20 → 1.24.22
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 +357 -90
- 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/af7f414d21859f116e8975470976062f7553c620/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | | 8.86 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
|
@@ -1,14 +1,247 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Fish",
|
|
3
|
-
"fileTypes": [
|
|
4
|
-
"fish"
|
|
5
|
-
],
|
|
6
|
-
"firstLineMatch": "^#!.*\\bfish\\b",
|
|
7
|
-
"foldingStartMarker": "^\\s*(function|while|if|switch|for|begin)\\s.*$",
|
|
8
|
-
"foldingStopMarker": "^\\s*end\\s*$",
|
|
9
3
|
"name": "fish",
|
|
10
4
|
"patterns": [
|
|
11
5
|
{
|
|
6
|
+
"include": "#string-double"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"include": "#string-single"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"include": "#comment"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"include": "#subshell-bare"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"include": "#subshell"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"include": "#command"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"include": "#keywords"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"include": "#io-redirection"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"include": "#operators"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"include": "#options"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"include": "#variable"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"include": "#escape"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"repository": {
|
|
43
|
+
"command": {
|
|
44
|
+
"captures": {
|
|
45
|
+
"2": {
|
|
46
|
+
"name": "keyword.operator.pipe.fish"
|
|
47
|
+
},
|
|
48
|
+
"3": {
|
|
49
|
+
"name": "keyword.control.fish"
|
|
50
|
+
},
|
|
51
|
+
"5": {
|
|
52
|
+
"name": "support.function.command.fish"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"match": "(^\\s*|&&\\s*|(\\|)\\s*|\\(\\s*|;\\s*|\\b(if|while)\\b\\s+)(?!(?<!\\.)\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\b(?![!?]))([-\\].0-9A-\\[_a-z]+)"
|
|
56
|
+
},
|
|
57
|
+
"command-subshell": {
|
|
58
|
+
"captures": {
|
|
59
|
+
"2": {
|
|
60
|
+
"name": "keyword.operator.pipe.fish"
|
|
61
|
+
},
|
|
62
|
+
"3": {
|
|
63
|
+
"name": "keyword.control.fish"
|
|
64
|
+
},
|
|
65
|
+
"5": {
|
|
66
|
+
"name": "support.function.command.fish"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"match": "(\\G\\s*|&&\\s*|(\\|)\\s*|\\(\\s*|;\\s*|\\b(if|while)\\b\\s+)(?!(?<!\\.)\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\b(?![!?]))([-\\].0-9A-\\[_a-z]+)"
|
|
70
|
+
},
|
|
71
|
+
"comment": {
|
|
72
|
+
"captures": {
|
|
73
|
+
"1": {
|
|
74
|
+
"name": "punctuation.definition.comment.fish"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"match": "(?<!\\$)(#)(?!\\{).*$\\n?",
|
|
78
|
+
"name": "comment.line.number-sign.fish"
|
|
79
|
+
},
|
|
80
|
+
"escape": {
|
|
81
|
+
"patterns": [
|
|
82
|
+
{
|
|
83
|
+
"match": "\\\\[] \"#$\\&-*;<>?\\[^abefnrtv{-~]",
|
|
84
|
+
"name": "constant.character.escape.single.fish"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"match": "\\\\x\\h{1,2}",
|
|
88
|
+
"name": "constant.character.escape.hex-ascii.fish"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"match": "\\\\X\\h{1,2}",
|
|
92
|
+
"name": "constant.character.escape.hex-byte.fish"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"match": "\\\\[0-7]{1,3}",
|
|
96
|
+
"name": "constant.character.escape.octal.fish"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"match": "\\\\u\\h{1,4}",
|
|
100
|
+
"name": "constant.character.escape.unicode-16-bit.fish"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"match": "\\\\U\\h{1,8}",
|
|
104
|
+
"name": "constant.character.escape.unicode-32-bit.fish"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"match": "\\\\c[A-Za-z]",
|
|
108
|
+
"name": "constant.character.escape.control.fish"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"io-redirection": {
|
|
113
|
+
"patterns": [
|
|
114
|
+
{
|
|
115
|
+
"captures": {
|
|
116
|
+
"1": {
|
|
117
|
+
"name": "keyword.operator.redirect.fish"
|
|
118
|
+
},
|
|
119
|
+
"2": {
|
|
120
|
+
"name": "keyword.operator.redirect.target.fish"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"match": "(<|(?:[>^]|>>|\\^\\^)(?:&[-012])?|[012](?:[<>]|>>)(?:&[-012])?)\\s*(?!\\()([\\--9A-Z_a-z]+)"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"match": "<|([>^]|>>|\\^\\^)(&[-012])?|[012]([<>]|>>)(&[-012])?",
|
|
127
|
+
"name": "keyword.operator.redirect.fish"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"keywords": {
|
|
132
|
+
"patterns": [
|
|
133
|
+
{
|
|
134
|
+
"captures": {
|
|
135
|
+
"2": {
|
|
136
|
+
"name": "keyword.control.fish"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"match": "(^\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*|(?<=\\bwhile\\b)\\s+|(?<=\\bif\\b)\\s+|(?<=\\band\\b)\\s+|(?<=\\bor\\b)\\s+|(?<=\\bnot\\b)\\s+)(?<!\\.)\\b(while|if|and|or|not)\\b(?![!?])"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"captures": {
|
|
143
|
+
"2": {
|
|
144
|
+
"name": "keyword.control.fish"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"match": "(^\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*)(?<!\\.)\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\b(?![!?])"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"match": "\\b(in)\\b(?![!?])",
|
|
151
|
+
"name": "keyword.control.fish"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"keywords-subshell": {
|
|
156
|
+
"patterns": [
|
|
157
|
+
{
|
|
158
|
+
"captures": {
|
|
159
|
+
"2": {
|
|
160
|
+
"name": "keyword.control.fish"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"match": "(\\G\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*|(?<=\\bwhile\\b)\\s+|(?<=\\bif\\b)\\s+|(?<=\\band\\b)\\s+|(?<=\\bor\\b)\\s+|(?<=\\bnot\\b)\\s+)(?<!\\.)\\b(while|if|and|or|not)\\b(?![!?])"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"captures": {
|
|
167
|
+
"2": {
|
|
168
|
+
"name": "keyword.control.fish"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"match": "(\\G\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*)(?<!\\.)\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\b(?![!?])"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"match": "\\b(in)\\b(?![!?])",
|
|
175
|
+
"name": "keyword.control.fish"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"operators": {
|
|
180
|
+
"patterns": [
|
|
181
|
+
{
|
|
182
|
+
"match": "&",
|
|
183
|
+
"name": "keyword.operator.background.fish"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"match": "\\*\\*|[*?]",
|
|
187
|
+
"name": "keyword.operator.glob.fish"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"options": {
|
|
192
|
+
"captures": {
|
|
193
|
+
"1": {
|
|
194
|
+
"name": "source.option.fish"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"match": "\\s(-{1,2}[-0-9A-Z_a-z]+|-\\w)\\b"
|
|
198
|
+
},
|
|
199
|
+
"slice": {
|
|
200
|
+
"begin": "\\[",
|
|
201
|
+
"beginCaptures": {
|
|
202
|
+
"0": {
|
|
203
|
+
"name": "punctuation.definition.slice.begin.fish"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"end": "(?<!\\\\)((\\\\\\\\)*)(])",
|
|
207
|
+
"endCaptures": {
|
|
208
|
+
"1": {
|
|
209
|
+
"name": "constant.character.escape.single.fish"
|
|
210
|
+
},
|
|
211
|
+
"3": {
|
|
212
|
+
"name": "punctuation.definition.slice.end.fish"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"name": "meta.embedded.slice.fish",
|
|
216
|
+
"patterns": [
|
|
217
|
+
{
|
|
218
|
+
"include": "#slice-range-operator"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"include": "#string-double"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"include": "#string-single"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"include": "#subshell-bare"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"include": "#subshell"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"include": "#variable"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"include": "#escape"
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
"slice-range-operator": {
|
|
241
|
+
"match": "\\.\\.",
|
|
242
|
+
"name": "keyword.control.fish"
|
|
243
|
+
},
|
|
244
|
+
"string-double": {
|
|
12
245
|
"begin": "\"",
|
|
13
246
|
"beginCaptures": {
|
|
14
247
|
"0": {
|
|
@@ -23,6 +256,9 @@
|
|
|
23
256
|
},
|
|
24
257
|
"name": "string.quoted.double.fish",
|
|
25
258
|
"patterns": [
|
|
259
|
+
{
|
|
260
|
+
"include": "#subshell"
|
|
261
|
+
},
|
|
26
262
|
{
|
|
27
263
|
"include": "#variable"
|
|
28
264
|
},
|
|
@@ -32,7 +268,7 @@
|
|
|
32
268
|
}
|
|
33
269
|
]
|
|
34
270
|
},
|
|
35
|
-
{
|
|
271
|
+
"string-single": {
|
|
36
272
|
"begin": "'",
|
|
37
273
|
"beginCaptures": {
|
|
38
274
|
"0": {
|
|
@@ -53,122 +289,135 @@
|
|
|
53
289
|
}
|
|
54
290
|
]
|
|
55
291
|
},
|
|
56
|
-
{
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
292
|
+
"subshell": {
|
|
293
|
+
"begin": "\\$\\(",
|
|
294
|
+
"beginCaptures": {
|
|
295
|
+
"0": {
|
|
296
|
+
"name": "punctuation.definition.subshell.begin.fish"
|
|
60
297
|
}
|
|
61
298
|
},
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"captures": {
|
|
67
|
-
"2": {
|
|
68
|
-
"name": "keyword.operator.pipe.fish"
|
|
299
|
+
"end": "(?<!\\\\)((\\\\\\\\)*)(\\))",
|
|
300
|
+
"endCaptures": {
|
|
301
|
+
"1": {
|
|
302
|
+
"name": "constant.character.escape.single.fish"
|
|
69
303
|
},
|
|
70
304
|
"3": {
|
|
71
|
-
"name": "
|
|
72
|
-
},
|
|
73
|
-
"5": {
|
|
74
|
-
"name": "support.function.command.fish"
|
|
305
|
+
"name": "punctuation.definition.subshell.end.fish"
|
|
75
306
|
}
|
|
76
307
|
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
308
|
+
"name": "meta.embedded.subshell.fish",
|
|
309
|
+
"patterns": [
|
|
310
|
+
{
|
|
311
|
+
"include": "#string-double"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"include": "#string-single"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"include": "#comment"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"include": "#keywords-subshell"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"include": "#command-subshell"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"include": "#io-redirection"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"include": "#operators"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"include": "#options"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"include": "#subshell"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"include": "#variable"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"include": "#escape"
|
|
83
342
|
}
|
|
84
|
-
|
|
85
|
-
"match": "(^\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*|(?<=\\b(?:while|if|and|or|not)\\b)\\s+)(?<!\\.)\\b(while|if|and|or|not)\\b(?![!?])"
|
|
343
|
+
]
|
|
86
344
|
},
|
|
87
|
-
{
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
345
|
+
"subshell-bare": {
|
|
346
|
+
"begin": "\\(",
|
|
347
|
+
"beginCaptures": {
|
|
348
|
+
"0": {
|
|
349
|
+
"name": "punctuation.definition.subshell.begin.fish"
|
|
91
350
|
}
|
|
92
351
|
},
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
{
|
|
96
|
-
"match": "\\b(in)\\b(?![!?])",
|
|
97
|
-
"name": "keyword.control.fish"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"captures": {
|
|
352
|
+
"end": "(?<!\\\\)((\\\\\\\\)*)(\\))",
|
|
353
|
+
"endCaptures": {
|
|
101
354
|
"1": {
|
|
102
|
-
"name": "
|
|
355
|
+
"name": "constant.character.escape.single.fish"
|
|
103
356
|
},
|
|
104
|
-
"
|
|
105
|
-
"name": "
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"match": "(<|(?:[>^]|>>|\\^\\^)(?:&[-012])?|[012](?:[<>]|>>)(?:&[-012])?)\\s*(?!\\()([\\--9A-Z_a-z]+)"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"match": "<|([>^]|>>|\\^\\^)(&[-012])?|[012]([<>]|>>)(&[-012])?",
|
|
112
|
-
"name": "keyword.operator.redirect.fish"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"match": "&",
|
|
116
|
-
"name": "keyword.operator.background.fish"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"match": "\\*\\*|[*?]",
|
|
120
|
-
"name": "keyword.operator.glob.fish"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"captures": {
|
|
124
|
-
"1": {
|
|
125
|
-
"name": "source.option.fish"
|
|
357
|
+
"3": {
|
|
358
|
+
"name": "punctuation.definition.subshell.end.fish"
|
|
126
359
|
}
|
|
127
360
|
},
|
|
128
|
-
"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"include": "#variable"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"include": "#escape"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"repository": {
|
|
138
|
-
"escape": {
|
|
361
|
+
"name": "meta.embedded.subshell.fish",
|
|
139
362
|
"patterns": [
|
|
140
363
|
{
|
|
141
|
-
"
|
|
142
|
-
"name": "constant.character.escape.single.fish"
|
|
364
|
+
"include": "#string-double"
|
|
143
365
|
},
|
|
144
366
|
{
|
|
145
|
-
"
|
|
146
|
-
"name": "constant.character.escape.hex-ascii.fish"
|
|
367
|
+
"include": "#string-single"
|
|
147
368
|
},
|
|
148
369
|
{
|
|
149
|
-
"
|
|
150
|
-
"name": "constant.character.escape.hex-byte.fish"
|
|
370
|
+
"include": "#comment"
|
|
151
371
|
},
|
|
152
372
|
{
|
|
153
|
-
"
|
|
154
|
-
"name": "constant.character.escape.octal.fish"
|
|
373
|
+
"include": "#keywords-subshell"
|
|
155
374
|
},
|
|
156
375
|
{
|
|
157
|
-
"
|
|
158
|
-
"name": "constant.character.escape.unicode-16-bit.fish"
|
|
376
|
+
"include": "#command-subshell"
|
|
159
377
|
},
|
|
160
378
|
{
|
|
161
|
-
"
|
|
162
|
-
"name": "constant.character.escape.unicode-32-bit.fish"
|
|
379
|
+
"include": "#io-redirection"
|
|
163
380
|
},
|
|
164
381
|
{
|
|
165
|
-
"
|
|
166
|
-
|
|
382
|
+
"include": "#operators"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"include": "#options"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"include": "#subshell-bare"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"include": "#subshell"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"include": "#variable"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"include": "#escape"
|
|
167
398
|
}
|
|
168
399
|
]
|
|
169
400
|
},
|
|
170
401
|
"variable": {
|
|
171
402
|
"patterns": [
|
|
403
|
+
{
|
|
404
|
+
"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(?=\\[)",
|
|
405
|
+
"beginCaptures": {
|
|
406
|
+
"1": {
|
|
407
|
+
"name": "punctuation.definition.variable.fish"
|
|
408
|
+
},
|
|
409
|
+
"2": {
|
|
410
|
+
"name": "variable.language.fish"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"end": "(?<=])",
|
|
414
|
+
"name": "variable.language.fish",
|
|
415
|
+
"patterns": [
|
|
416
|
+
{
|
|
417
|
+
"include": "#slice"
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
|
+
},
|
|
172
421
|
{
|
|
173
422
|
"captures": {
|
|
174
423
|
"1": {
|
|
@@ -178,6 +427,24 @@
|
|
|
178
427
|
"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",
|
|
179
428
|
"name": "variable.language.fish"
|
|
180
429
|
},
|
|
430
|
+
{
|
|
431
|
+
"begin": "(\\$)([A-Z_a-z][0-9A-Z_a-z]*)(?=\\[)",
|
|
432
|
+
"beginCaptures": {
|
|
433
|
+
"1": {
|
|
434
|
+
"name": "punctuation.definition.variable.fish"
|
|
435
|
+
},
|
|
436
|
+
"2": {
|
|
437
|
+
"name": "variable.other.normal.fish"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"end": "(?<=])",
|
|
441
|
+
"name": "variable.other.normal.fish",
|
|
442
|
+
"patterns": [
|
|
443
|
+
{
|
|
444
|
+
"include": "#slice"
|
|
445
|
+
}
|
|
446
|
+
]
|
|
447
|
+
},
|
|
181
448
|
{
|
|
182
449
|
"captures": {
|
|
183
450
|
"1": {
|
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: 9072,
|
|
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: 'lSNvqrsTEzMrf2vx4kqTHYqPiQ5p8Ci8zp79inZXhLI',
|
|
1178
|
+
lastUpdate: '2025-10-14T18:51:17Z',
|
|
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: 'af7f414d21859f116e8975470976062f7553c620',
|
|
1184
|
+
source: 'https://github.com/bmalehorn/vscode-fish/blob/af7f414d21859f116e8975470976062f7553c620/syntaxes/fish.tmLanguage.json',
|
|
1185
|
+
sourceApi: 'https://api.github.com/repos/bmalehorn/vscode-fish/contents/syntaxes/fish.tmLanguage.json?ref=af7f414d21859f116e8975470976062f7553c620',
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
1188
|
aliases: [
|