tm-grammars 1.22.2 → 1.22.3

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 CHANGED
@@ -96,7 +96,7 @@ import { grammars } from 'tm-grammars'
96
96
  | `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8270a86019db7551da42b71d15c6080a414d8c81/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 47.62 kB |
97
97
  | `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | `javascript` `typescript` `jsx` `tsx` | 17.10 kB |
98
98
  | `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 18.52 kB |
99
- | `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.38 kB |
99
+ | `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/2da10a05b70c9aae672f25bc218fe92d44522408/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.38 kB |
100
100
  | `haml` | | [karuna/haml-vscode](https://github.com/karuna/haml-vscode/blob/aa45415aefd691af0a501ea4f98e434490623e0d/syntaxes/haml.json) | [MIT](https://raw.githubusercontent.com/karuna/haml-vscode/master/LICENSE.md) | `ruby` `javascript` `sass` `coffee` `markdown` `css` | 7.67 kB |
101
101
  | `handlebars` | `hbs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45db52ba6bd211cecd03897caee0531350071721/extensions/handlebars/syntaxes/Handlebars.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `css` `javascript` `yaml` | 11.47 kB |
102
102
  | `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | | 39.81 kB |
@@ -144,7 +144,7 @@ import { grammars } from 'tm-grammars'
144
144
  | `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 68.68 kB |
145
145
  | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/4b04e9d614901097ffc0663fef40bd3e5d87779e/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 19.27 kB |
146
146
  | `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.39 kB |
147
- | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/9f77dfa030f7d6d057cc8745f8b8bcf366548048/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | 3.67 kB |
147
+ | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/5e58fc75ef6b18cc36e819a46dad4f504806c63b/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | 3.67 kB |
148
148
  | `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.10 kB |
149
149
  | `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.79 kB |
150
150
  | `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.22 kB |
@@ -1009,7 +1009,7 @@
1009
1009
  ]
1010
1010
  },
1011
1011
  {
1012
- "begin": "\\s*((?:(?:final|abstract|public|private|protected|internal|static|async)\\s+)*)(function)(?:\\s+)(?:(__(?:call|construct|destruct|get|set|isset|unset|tostring|clone|set_state|sleep|wakeup|autoload|invoke|callStatic|dispose|disposeAsync)(?=[^a-zA-Z0-9_\\x7f-\\xff]))|(\\w+))",
1012
+ "begin": "\\s*((?:(?:final|abstract|public|private|protected|internal|static|async)\\s+)*)(function)(?:\\s+)(?:(__(?:call|construct|destruct|get|set|isset|unset|tostring|clone|set_state|sleep|wakeup|autoload|invoke|callStatic|dispose|disposeAsync)(?=[^a-zA-Z0-9_\\x{7f}-\\x{ff}]))|(\\w+))",
1013
1013
  "beginCaptures": {
1014
1014
  "1": {
1015
1015
  "patterns": [
@@ -75,7 +75,7 @@
75
75
  "begin": "([\\w$]+)\\s*\\(",
76
76
  "beginCaptures": {
77
77
  "1": {
78
- "name": "entity.name.function.java"
78
+ "name": "entity.name.function.nextflow"
79
79
  }
80
80
  },
81
81
  "end": "\\)",
@@ -163,7 +163,7 @@
163
163
  }
164
164
  ]
165
165
  },
166
- "include-statement": {
166
+ "include-decl": {
167
167
  "patterns": [
168
168
  {
169
169
  "match": "^\\b(include)\\b",
@@ -193,7 +193,7 @@
193
193
  "include": "#output-def"
194
194
  },
195
195
  {
196
- "include": "#include-statement"
196
+ "include": "#include-decl"
197
197
  },
198
198
  {
199
199
  "include": "source.nextflow-groovy"
@@ -222,7 +222,7 @@
222
222
  "name": "constant.block.nextflow"
223
223
  },
224
224
  {
225
- "match": "\\b(tuple|path|file|val|stdin|stdout)(\\(|\\s)",
225
+ "match": "\\b(val|env|file|path|stdin|stdout|tuple)(\\(|\\s)",
226
226
  "name": "entity.name.function.nextflow"
227
227
  },
228
228
  {
@@ -231,13 +231,13 @@
231
231
  ]
232
232
  },
233
233
  "process-def": {
234
- "begin": "^\\s*(process)\\s+(\\w+|\"[^\"]+\"|'[^']+')\\s*{",
234
+ "begin": "^\\s*(process)\\s+(\\w+)\\s*{",
235
235
  "beginCaptures": {
236
236
  "1": {
237
237
  "name": "keyword.nextflow"
238
238
  },
239
239
  "2": {
240
- "name": "function.nextflow"
240
+ "name": "entity.name.function.nextflow"
241
241
  }
242
242
  },
243
243
  "end": "}",
@@ -251,7 +251,7 @@
251
251
  "workflow-body": {
252
252
  "patterns": [
253
253
  {
254
- "match": "(?:take|main|emit):",
254
+ "match": "(?:take|main|emit|publish):",
255
255
  "name": "constant.block.nextflow"
256
256
  },
257
257
  {
@@ -260,13 +260,13 @@
260
260
  ]
261
261
  },
262
262
  "workflow-def": {
263
- "begin": "^\\s*(workflow)(?:\\s+(\\w+|\"[^\"]+\"|'[^']+'))?\\s*{",
263
+ "begin": "^\\s*(workflow)(?:\\s+(\\w+))?\\s*{",
264
264
  "beginCaptures": {
265
265
  "1": {
266
266
  "name": "keyword.nextflow"
267
267
  },
268
268
  "2": {
269
- "name": "constant.nextflow"
269
+ "name": "entity.name.function.nextflow"
270
270
  }
271
271
  },
272
272
  "end": "}",
package/index.js CHANGED
@@ -1252,7 +1252,7 @@ export const grammars = [
1252
1252
  source: 'https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json',
1253
1253
  },
1254
1254
  {
1255
- byteSize: 82308,
1255
+ byteSize: 82312,
1256
1256
  categories: [
1257
1257
  'general',
1258
1258
  ],
@@ -1261,14 +1261,14 @@ export const grammars = [
1261
1261
  'html',
1262
1262
  'sql',
1263
1263
  ],
1264
- hash: 'alc789tue5',
1265
- lastUpdate: '2022-10-03T22:33:42Z',
1264
+ hash: 'iAyEENbA7W',
1265
+ lastUpdate: '2025-01-09T20:28:53Z',
1266
1266
  license: 'MIT',
1267
1267
  licenseUrl: 'https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md',
1268
1268
  name: 'hack',
1269
1269
  scopeName: 'source.hack',
1270
- sha: 'b997653188b127a7261b0d26e7808217f3eb47bb',
1271
- source: 'https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json',
1270
+ sha: '2da10a05b70c9aae672f25bc218fe92d44522408',
1271
+ source: 'https://github.com/slackhq/vscode-hack/blob/2da10a05b70c9aae672f25bc218fe92d44522408/syntaxes/hack.json',
1272
1272
  },
1273
1273
  {
1274
1274
  byteSize: 7850,
@@ -2177,16 +2177,16 @@ export const grammars = [
2177
2177
  aliases: [
2178
2178
  'nf',
2179
2179
  ],
2180
- byteSize: 3763,
2180
+ byteSize: 3755,
2181
2181
  displayName: 'Nextflow',
2182
- hash: 'rzOl7r4tZe',
2183
- lastUpdate: '2024-10-28T03:30:14Z',
2182
+ hash: 'AGoHxsYL0I',
2183
+ lastUpdate: '2025-01-09T01:25:31Z',
2184
2184
  license: 'MIT',
2185
2185
  licenseUrl: 'https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md',
2186
2186
  name: 'nextflow',
2187
2187
  scopeName: 'source.nextflow',
2188
- sha: '9f77dfa030f7d6d057cc8745f8b8bcf366548048',
2189
- source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/9f77dfa030f7d6d057cc8745f8b8bcf366548048/syntaxes/nextflow.tmLanguage.json',
2188
+ sha: '5e58fc75ef6b18cc36e819a46dad4f504806c63b',
2189
+ source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/5e58fc75ef6b18cc36e819a46dad4f504806c63b/syntaxes/nextflow.tmLanguage.json',
2190
2190
  },
2191
2191
  {
2192
2192
  byteSize: 34919,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.22.2",
4
+ "version": "1.22.3",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",