tm-grammars 1.24.18 → 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 CHANGED
@@ -45,7 +45,7 @@ import { grammars } from 'tm-grammars'
45
45
  | `c` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/cpp/syntaxes/c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 67.93 kB |
46
46
  | `cadence` | `cdc` | [onflow/vscode-cadence](https://github.com/onflow/vscode-cadence/blob/bc7e5d3bb613e01789584283d7911cfd6b616dc4/extension/language/syntaxes/cadence.tmGrammar.json) | [Apache-2.0](https://raw.githubusercontent.com/onflow/vscode-cadence/master/LICENSE) | | | 22.23 kB |
47
47
  | `cairo` | | [starkware-libs/cairo-lang](https://github.com/starkware-libs/cairo-lang/blob/4ea4fe8e167845a3402ae2ea0a8b6004aad18dd5/src/starkware/cairo/lang/ide/vscode-cairo/syntaxes/cairo.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/starkware-libs/cairo-lang/master/LICENSE.txt) | | `python` | 2.66 kB |
48
- | `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/57d06c1522fd93659d213dc192a631650a2acb85/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | | 13.46 kB |
48
+ | `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/a187c9ccbbfeb91550f138c8d606888a902b7c98/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | | 13.47 kB |
49
49
  | `clojure` | `clj` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/a1a4c0a63b1ad59e84f54b874744fe35dea9abe1/extensions/clojure/syntaxes/clojure.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 6.02 kB |
50
50
  | `cmake` | | [twxs/vs.language.cmake](https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage) | [MIT](https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE) | | | 9.38 kB |
51
51
  | `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/28a53ee742017ec60055f2aaaf174aaf62e83c45/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | | `html` `java` | 37.32 kB |
@@ -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/2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | | 3.88 kB |
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 |
@@ -544,7 +544,7 @@
544
544
  ]
545
545
  },
546
546
  "keyword": {
547
- "match": "(?<!\\S)(?!-)\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stacks-block-height|stx-liquid-supply|tenure-height|tx-sender|tx-sponsor?|current-contract|block-time)\\b(?!\\s*-)",
547
+ "match": "(?<!\\S)(?!-)\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stacks-block-height|stx-liquid-supply|tenure-height|tx-sender|tx-sponsor?|current-contract|stacks-block-time)\\b(?!\\s*-)",
548
548
  "name": "constant.language.clarity"
549
549
  },
550
550
  "let-func": {
@@ -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
- "4": {
73
+ "5": {
71
74
  "name": "support.function.command.fish"
72
75
  }
73
76
  },
74
- "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]+)"
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
- "match": "(?<!\\.)\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\b(?![!?])",
78
- "name": "keyword.control.fish"
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
- "match": "(?<!\\.)\\bfunction\\b(?![!?])",
82
- "name": "storage.type.fish"
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.operator.pipe.fish"
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
@@ -557,22 +557,22 @@ export const grammars = [
557
557
  sourceApi: 'https://api.github.com/repos/starkware-libs/cairo-lang/contents/src/starkware/cairo/lang/ide/vscode-cairo/syntaxes/cairo.tmLanguage.json?ref=4ea4fe8e167845a3402ae2ea0a8b6004aad18dd5',
558
558
  },
559
559
  {
560
- byteSize: 13782,
560
+ byteSize: 13789,
561
561
  categories: [
562
562
  'lisp',
563
563
  ],
564
564
  displayName: 'Clarity',
565
565
  funding: [
566
566
  ],
567
- hash: 'EIV7nYF1broDJdu7cJQjrtckUiO8F2du4GJVG4ahhtc',
568
- lastUpdate: '2025-10-06T16:56:04Z',
567
+ hash: 'x-e0LcAtKvpExm7uqO0sFoqbgwmPXGlaQn2KuzxQyfw',
568
+ lastUpdate: '2025-10-09T17:14:05Z',
569
569
  license: 'MIT',
570
570
  licenseUrl: 'https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE',
571
571
  name: 'clarity',
572
572
  scopeName: 'source.clar',
573
- sha: '57d06c1522fd93659d213dc192a631650a2acb85',
574
- source: 'https://github.com/hirosystems/clarity.tmbundle/blob/57d06c1522fd93659d213dc192a631650a2acb85/Syntaxes/clarity.JSON-tmLanguage',
575
- sourceApi: 'https://api.github.com/repos/hirosystems/clarity.tmbundle/contents/Syntaxes/clarity.JSON-tmLanguage?ref=57d06c1522fd93659d213dc192a631650a2acb85',
573
+ sha: 'a187c9ccbbfeb91550f138c8d606888a902b7c98',
574
+ source: 'https://github.com/hirosystems/clarity.tmbundle/blob/a187c9ccbbfeb91550f138c8d606888a902b7c98/Syntaxes/clarity.JSON-tmLanguage',
575
+ sourceApi: 'https://api.github.com/repos/hirosystems/clarity.tmbundle/contents/Syntaxes/clarity.JSON-tmLanguage?ref=a187c9ccbbfeb91550f138c8d606888a902b7c98',
576
576
  },
577
577
  {
578
578
  aliases: [
@@ -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: 3971,
1170
+ byteSize: 4392,
1171
1171
  categories: [
1172
1172
  'scripting',
1173
1173
  ],
1174
1174
  displayName: 'Fish',
1175
1175
  funding: [
1176
1176
  ],
1177
- hash: 'ybTgKA2dGQNcghVfgive4rQ1_thBexLLS8e9KZymy3o',
1178
- lastUpdate: '2022-01-23T01:18:50Z',
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: '2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718',
1184
- source: 'https://github.com/bmalehorn/vscode-fish/blob/2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718/syntaxes/fish.tmLanguage.json',
1185
- sourceApi: 'https://api.github.com/repos/bmalehorn/vscode-fish/contents/syntaxes/fish.tmLanguage.json?ref=2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718',
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: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.18",
4
+ "version": "1.24.20",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",