tm-grammars 1.24.19 → 1.24.20
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 +30 -8
- 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/ed05a12c8e8c20032065289874a207400b821e39/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | | 4.29 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
|
@@ -65,25 +65,47 @@
|
|
|
65
65
|
{
|
|
66
66
|
"captures": {
|
|
67
67
|
"2": {
|
|
68
|
+
"name": "keyword.operator.pipe.fish"
|
|
69
|
+
},
|
|
70
|
+
"3": {
|
|
68
71
|
"name": "keyword.control.fish"
|
|
69
72
|
},
|
|
70
|
-
"
|
|
73
|
+
"5": {
|
|
71
74
|
"name": "support.function.command.fish"
|
|
72
75
|
}
|
|
73
76
|
},
|
|
74
|
-
"match": "(^\\s*|&&\\s
|
|
77
|
+
"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]+)"
|
|
75
78
|
},
|
|
76
79
|
{
|
|
77
|
-
"
|
|
78
|
-
|
|
80
|
+
"captures": {
|
|
81
|
+
"2": {
|
|
82
|
+
"name": "keyword.control.fish"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"match": "(^\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*|(?<=\\b(?:while|if|and|or|not)\\b)\\s+)(?<!\\.)\\b(while|if|and|or|not)\\b(?![!?])"
|
|
79
86
|
},
|
|
80
87
|
{
|
|
81
|
-
"
|
|
82
|
-
|
|
88
|
+
"captures": {
|
|
89
|
+
"2": {
|
|
90
|
+
"name": "keyword.control.fish"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"match": "(^\\s*|&&\\s*|(?<=\\|)\\s*|\\(\\s*|;\\s*)(?<!\\.)\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\b(?![!?])"
|
|
83
94
|
},
|
|
84
95
|
{
|
|
85
|
-
"match": "
|
|
86
|
-
"name": "keyword.
|
|
96
|
+
"match": "\\b(in)\\b(?![!?])",
|
|
97
|
+
"name": "keyword.control.fish"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"captures": {
|
|
101
|
+
"1": {
|
|
102
|
+
"name": "keyword.operator.redirect.fish"
|
|
103
|
+
},
|
|
104
|
+
"2": {
|
|
105
|
+
"name": "keyword.operator.redirect.target.fish"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"match": "(<|(?:[>^]|>>|\\^\\^)(?:&[-012])?|[012](?:[<>]|>>)(?:&[-012])?)\\s*(?!\\()([\\--9A-Z_a-z]+)"
|
|
87
109
|
},
|
|
88
110
|
{
|
|
89
111
|
"match": "<|([>^]|>>|\\^\\^)(&[-012])?|[012]([<>]|>>)(&[-012])?",
|
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: 4392,
|
|
1171
1171
|
categories: [
|
|
1172
1172
|
'scripting',
|
|
1173
1173
|
],
|
|
1174
1174
|
displayName: 'Fish',
|
|
1175
1175
|
funding: [
|
|
1176
1176
|
],
|
|
1177
|
-
hash: '
|
|
1178
|
-
lastUpdate: '
|
|
1177
|
+
hash: '9l_sh378VaFTOMqPaKteQOiYAn_Y0tDgPDhGHNYV0Zg',
|
|
1178
|
+
lastUpdate: '2025-10-12T22:59:28Z',
|
|
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: 'ed05a12c8e8c20032065289874a207400b821e39',
|
|
1184
|
+
source: 'https://github.com/bmalehorn/vscode-fish/blob/ed05a12c8e8c20032065289874a207400b821e39/syntaxes/fish.tmLanguage.json',
|
|
1185
|
+
sourceApi: 'https://api.github.com/repos/bmalehorn/vscode-fish/contents/syntaxes/fish.tmLanguage.json?ref=ed05a12c8e8c20032065289874a207400b821e39',
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
1188
|
aliases: [
|