tm-grammars 1.22.10 → 1.22.12

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
@@ -56,7 +56,7 @@ import { grammars } from 'tm-grammars'
56
56
  | `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/fd167d6d78d2085e86a0bbbd18d37f732e9d1396/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/coq/vscoq/main/LICENSE) | | 5.56 kB |
57
57
  | `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `regexp` `glsl` `sql` | 410.92 kB |
58
58
  | `crystal` | | [crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/c920b0931ec5f05b78447dbff31b172c64f1d734/syntaxes/crystal.json) | [MIT](https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE) | `html` `sql` `css` `c` `javascript` `shellscript` | 31.49 kB |
59
- | `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 81.46 kB |
59
+ | `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c9948b69ee93cebd049925aa9d6176589863644c/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 81.48 kB |
60
60
  | `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/css/syntaxes/css.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 51.24 kB |
61
61
  | `csv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/3bdafafa12940a75166089b64bdd80b1d3b071db/syntaxes/csv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 1.07 kB |
62
62
  | `cue` | | [cue-lang/vscode-cue](https://github.com/cue-lang/vscode-cue/blob/a9ee96a7e61fb8acd39f7403144d0b6f45652987/extension/syntaxes/cue.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/cue-lang/vscode-cue/master/LICENSE) | | 15.93 kB |
@@ -125,7 +125,7 @@ import { grammars } from 'tm-grammars'
125
125
  | `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp` `python` `javascript` `r` `sql` | 32.82 kB |
126
126
  | `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/626e20d5c51a4379c4c0ee293aa89e58b5232aec/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | 8.21 kB |
127
127
  | `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/2628495122cd3b0cc4b4c6ba6e0f6efd621ed9f6/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.61 kB |
128
- | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 54.75 kB |
128
+ | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c9948b69ee93cebd049925aa9d6176589863644c/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 55.57 kB |
129
129
  | `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/2255bc20c9d28d868d04fb91428652a95cc87a92/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | 3.96 kB |
130
130
  | `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 96.47 kB |
131
131
  | `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/aa58eab9a09a764b10864aa8d1d48f1d5f3aac2e/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | `html` `css` `json` `javascript` | 16.16 kB |
@@ -147,7 +147,7 @@ import { grammars } from 'tm-grammars'
147
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.14 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.82 kB |
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.36 kB |
150
+ | `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/ac1ed65aa92655748200cd62bd54e5ca051781bc/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | | 14.38 kB |
151
151
  | `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/63fcfaf32fe18db9f8bc75805117c2af3a896806/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | 18.47 kB |
152
152
  | `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 102.93 kB |
153
153
  | `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 166.86 kB |
@@ -157,7 +157,7 @@ import { grammars } from 'tm-grammars'
157
157
  | `php` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/06401b39b18c5e7d1c021a619fa387d654033606/extensions/php/syntaxes/php.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `xml` `sql` `javascript` `json` `css` | 107.01 kB |
158
158
  | `plsql` | | [zabel-xyz/plsql-language](https://github.com/zabel-xyz/plsql-language/blob/256a6b8f04f2bdc5e60ce921646a5068957078d7/syntaxes/plsql.tmLanguage) | [MIT](https://raw.githubusercontent.com/zabel-xyz/plsql-language/master/LICENSE) | | 7.99 kB |
159
159
  | `po` | `pot` `potx` | [textmate/gettext.tmbundle](https://github.com/textmate/gettext.tmbundle/blob/08bb69558d82ada8d4f36b8869f871ce69014749/Syntaxes/Gettext.tmLanguage) | | | 3.09 kB |
160
- | `polar` | | [osohq/polar-grammar](https://github.com/osohq/polar-grammar/blob/331521c2eca6acf89a87e7360d89ab715cc1daff/syntaxes/polar.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/osohq/polar-grammar/main/LICENSE) | | 4.36 kB |
160
+ | `polar` | | [osohq/polar-grammar](https://github.com/osohq/polar-grammar/blob/1a87b3a7f2b47aea681a0f627b2297f77171d1c3/syntaxes/polar.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/osohq/polar-grammar/main/LICENSE) | | 4.54 kB |
161
161
  | `postcss` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/8ccae3ba50b65837d4cd4acc71a3b84cd3bee27c/syntaxes/vue-postcss.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | | 6.11 kB |
162
162
  | `powerquery` | | [microsoft/powerquery-language](https://github.com/microsoft/powerquery-language/blob/eed9810b5f78dfb63319bdbce80bca50419dfa50/PowerQuery.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/powerquery-language/master/LICENSE) | | 5.52 kB |
163
163
  | `powershell` | `ps` `ps1` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9efc116de0ea4998616ebe3b17ee5b92f7dc1161/extensions/powershell/syntaxes/powershell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 21.12 kB |
@@ -2456,7 +2456,7 @@
2456
2456
  ]
2457
2457
  },
2458
2458
  "invocation-expression": {
2459
- "begin": "(?:(?:(\\?)\\s*)?(\\.)\\s*|(->)\\s*)?(@?[_[:alpha:]][_[:alnum:]]*)\\s*(<(?<type_args>[^<>()]++|<\\g<type_args>*+>|\\(\\g<type_args>*+\\))*+>\\s*)?(?=\\()",
2459
+ "begin": "(?:(?:(\\?)\\s*)?(\\.)\\s*|(->)\\s*)?(@?[_[:alpha:]][_[:alnum:]]*)\\s*(<(?<type_args>[^<>()]|\\((?:[^<>()]|<[^<>()]*>|\\([^<>()]*\\))*\\)|<\\g<type_args>*>)*>\\s*)?(?=\\()",
2460
2460
  "beginCaptures": {
2461
2461
  "1": {
2462
2462
  "name": "keyword.operator.null-conditional.cs"
@@ -755,6 +755,49 @@
755
755
  }
756
756
  ]
757
757
  },
758
+ {
759
+ "begin": "\\s*\\\\begin\\{(?:javacode|javaverbatim|javablock|javaconcode|javaconsole|javaconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
760
+ "captures": {
761
+ "0": {
762
+ "patterns": [
763
+ {
764
+ "include": "#begin-env-tokenizer"
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ "end": "\\s*\\\\end\\{(?:javacode|javaverbatim|javablock|javaconcode|javaconsole|javaconverbatim)\\*?\\}",
770
+ "patterns": [
771
+ {
772
+ "include": "#multiline-optional-arg-no-highlight"
773
+ },
774
+ {
775
+ "begin": "(?:\\G|(?<=\\]))(\\{)",
776
+ "beginCaptures": {
777
+ "1": {
778
+ "name": "punctuation.definition.arguments.begin.latex"
779
+ }
780
+ },
781
+ "contentName": "variable.parameter.function.latex",
782
+ "end": "(\\})",
783
+ "endCaptures": {
784
+ "1": {
785
+ "name": "punctuation.definition.arguments.end.latex"
786
+ }
787
+ }
788
+ },
789
+ {
790
+ "begin": "^(?=\\s*)",
791
+ "contentName": "source.java",
792
+ "end": "^\\s*(?=\\\\end\\{(?:javacode|javaverbatim|javablock|javaconcode|javaconsole|javaconverbatim)\\*?\\})",
793
+ "patterns": [
794
+ {
795
+ "include": "source.java"
796
+ }
797
+ ]
798
+ }
799
+ ]
800
+ },
758
801
  {
759
802
  "begin": "\\s*\\\\begin\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
760
803
  "captures": {
@@ -1100,7 +1143,7 @@
1100
1143
  ]
1101
1144
  },
1102
1145
  {
1103
- "begin": "\\s*\\\\begin\\{([a-zA-Z]*code|lstlisting|minted|pyglist)\\*?\\}(?:\\[.*\\])?(?:\\{.*\\})?",
1146
+ "begin": "\\s*\\\\begin\\{((?:[a-zA-Z]*code|lstlisting|minted|pyglist)\\*?)\\}(?:\\[.*\\])?(?:\\{.*\\})?",
1104
1147
  "captures": {
1105
1148
  "0": {
1106
1149
  "patterns": [
package/grammars/nix.json CHANGED
@@ -511,7 +511,7 @@
511
511
  "include": "#attrset-or-function"
512
512
  },
513
513
  {
514
- "match": "(\\bor\\b|\\.|==|!=|!|\\<\\=|\\<|\\>\\=|\\>|&&|\\|\\||-\\>|//|\\?|\\+\\+|-|\\*|/(?=([^*]|$))|\\+)",
514
+ "match": "(\\bor\\b|\\.|\\|\\>|\\<\\||==|!=|!|\\<\\=|\\<|\\>\\=|\\>|&&|\\|\\||-\\>|//|\\?|\\+\\+|-|\\*|/(?=([^*]|$))|\\+)",
515
515
  "name": "keyword.operator.nix"
516
516
  },
517
517
  {
@@ -367,6 +367,31 @@
367
367
  },
368
368
  {
369
369
  "include": "#comment"
370
+ },
371
+ {
372
+ "name": "meta.iff-rule",
373
+ "patterns": [
374
+ {
375
+ "include": "#rule-functor"
376
+ },
377
+ {
378
+ "begin": "\\biff\\b",
379
+ "beginCaptures": {
380
+ "0": {
381
+ "name": "keyword.control"
382
+ }
383
+ },
384
+ "end": ";",
385
+ "patterns": [
386
+ {
387
+ "include": "#term"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "match": ";"
393
+ }
394
+ ]
370
395
  }
371
396
  ]
372
397
  }
package/index.js CHANGED
@@ -640,19 +640,19 @@ export const grammars = [
640
640
  'c#',
641
641
  'cs',
642
642
  ],
643
- byteSize: 83418,
643
+ byteSize: 83436,
644
644
  categories: [
645
645
  'general',
646
646
  ],
647
647
  displayName: 'C#',
648
- hash: '8AOwMrUpR4',
649
- lastUpdate: '2024-06-28T09:56:38Z',
648
+ hash: 'Y35L4RezLF',
649
+ lastUpdate: '2025-02-04T09:29:01Z',
650
650
  license: 'MIT',
651
651
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
652
652
  name: 'csharp',
653
653
  scopeName: 'source.cs',
654
- sha: 'ed4e6eda599f37bac9a11952403a6e63fd4f5a4d',
655
- source: 'https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json',
654
+ sha: 'c9948b69ee93cebd049925aa9d6176589863644c',
655
+ source: 'https://github.com/microsoft/vscode/blob/c9948b69ee93cebd049925aa9d6176589863644c/extensions/csharp/syntaxes/csharp.tmLanguage.json',
656
656
  },
657
657
  {
658
658
  byteSize: 52474,
@@ -1761,7 +1761,7 @@ export const grammars = [
1761
1761
  source: 'https://github.com/rosshamish/kuskus/blob/2628495122cd3b0cc4b4c6ba6e0f6efd621ed9f6/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json',
1762
1762
  },
1763
1763
  {
1764
- byteSize: 56060,
1764
+ byteSize: 56902,
1765
1765
  categories: [
1766
1766
  'markup',
1767
1767
  ],
@@ -1785,14 +1785,14 @@ export const grammars = [
1785
1785
  'yaml',
1786
1786
  'scala',
1787
1787
  ],
1788
- hash: 'meu3IhWZF0',
1789
- lastUpdate: '2024-09-27T08:27:11Z',
1788
+ hash: 'RlENQ2Y1sb',
1789
+ lastUpdate: '2025-02-04T09:29:01Z',
1790
1790
  license: 'MIT',
1791
1791
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
1792
1792
  name: 'latex',
1793
1793
  scopeName: 'text.tex.latex',
1794
- sha: 'e67b1982e1ab318288b8196ad503273dcb168049',
1795
- source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
1794
+ sha: 'c9948b69ee93cebd049925aa9d6176589863644c',
1795
+ source: 'https://github.com/microsoft/vscode/blob/c9948b69ee93cebd049925aa9d6176589863644c/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
1796
1796
  },
1797
1797
  {
1798
1798
  aliases: [
@@ -2228,16 +2228,16 @@ export const grammars = [
2228
2228
  source: 'https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json',
2229
2229
  },
2230
2230
  {
2231
- byteSize: 14708,
2231
+ byteSize: 14722,
2232
2232
  displayName: 'Nix',
2233
- hash: 'US1yMcXb2a',
2234
- lastUpdate: '2022-04-17T09:05:16Z',
2233
+ hash: 'sO7YUarMe5',
2234
+ lastUpdate: '2025-02-02T04:56:34Z',
2235
2235
  license: 'MIT',
2236
2236
  licenseUrl: 'https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE',
2237
2237
  name: 'nix',
2238
2238
  scopeName: 'source.nix',
2239
- sha: 'cd420d0bcea26cf1cf650f47c738bd1b6658a80c',
2240
- source: 'https://github.com/nix-community/vscode-nix-ide/blob/cd420d0bcea26cf1cf650f47c738bd1b6658a80c/syntaxes/nix.YAML-tmLanguage',
2239
+ sha: 'ac1ed65aa92655748200cd62bd54e5ca051781bc',
2240
+ source: 'https://github.com/nix-community/vscode-nix-ide/blob/ac1ed65aa92655748200cd62bd54e5ca051781bc/syntaxes/nix.YAML-tmLanguage',
2241
2241
  },
2242
2242
  {
2243
2243
  aliases: [
@@ -2393,16 +2393,16 @@ export const grammars = [
2393
2393
  source: 'https://github.com/textmate/gettext.tmbundle/blob/08bb69558d82ada8d4f36b8869f871ce69014749/Syntaxes/Gettext.tmLanguage',
2394
2394
  },
2395
2395
  {
2396
- byteSize: 4460,
2396
+ byteSize: 4654,
2397
2397
  displayName: 'Polar',
2398
- hash: 'rTp3rqMGfX',
2399
- lastUpdate: '2024-09-23T15:37:02Z',
2398
+ hash: 'NLCWKMfhYh',
2399
+ lastUpdate: '2025-02-04T19:52:05Z',
2400
2400
  license: 'Apache-2.0',
2401
2401
  licenseUrl: 'https://raw.githubusercontent.com/osohq/polar-grammar/main/LICENSE',
2402
2402
  name: 'polar',
2403
2403
  scopeName: 'source.polar',
2404
- sha: '331521c2eca6acf89a87e7360d89ab715cc1daff',
2405
- source: 'https://github.com/osohq/polar-grammar/blob/331521c2eca6acf89a87e7360d89ab715cc1daff/syntaxes/polar.tmLanguage.json',
2404
+ sha: '1a87b3a7f2b47aea681a0f627b2297f77171d1c3',
2405
+ source: 'https://github.com/osohq/polar-grammar/blob/1a87b3a7f2b47aea681a0f627b2297f77171d1c3/syntaxes/polar.tmLanguage.json',
2406
2406
  },
2407
2407
  {
2408
2408
  byteSize: 6260,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.22.10",
4
+ "version": "1.22.12",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",