tm-grammars 1.30.1 → 1.30.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
@@ -125,11 +125,11 @@ import { grammars } from 'tm-grammars'
125
125
  | `jsonnet` | | [heptio/vscode-jsonnet](https://github.com/heptio/vscode-jsonnet/blob/39088f9cde9f483c8e0efeb67a3fd561cd873aad/syntaxes/jsonnet.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/heptio/vscode-jsonnet/master/LICENSE) | | | 3.29 kB |
126
126
  | `jssm` | `fsl` | [StoneCypher/sublime-jssm](https://github.com/StoneCypher/sublime-jssm/blob/2be02a59d284229bbbfb3dc6c2bdcec9b2c263ef/jssm.tmLanguage) | [MIT](https://raw.githubusercontent.com/StoneCypher/sublime-jssm/master/LICENSE) | | | 2.08 kB |
127
127
  | `jsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 158.51 kB |
128
- | `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `cpp` `python` `javascript` `r` `sql` | 28.25 kB |
128
+ | `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `cpp` `python` `javascript` `r` `sql` | 28.25 kB |
129
129
  | `kdl` | | [kdl-org/vscode-kdl](https://github.com/kdl-org/vscode-kdl/blob/b986286d526d3dba7f5121956a52ce300c3418f0/syntaxes/kdl.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/kdl-org/vscode-kdl/main/LICENSE) | [GitHub Sponsors: **@zkat**](https://github.com/sponsors/zkat) | | 3.34 kB |
130
130
  | `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.19 kB |
131
131
  | `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/ff48034975f387ba79258776e5d452bee43a6233/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | | 14.28 kB |
132
- | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/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` | 67.95 kB |
132
+ | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/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` | 67.99 kB |
133
133
  | `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/2ca585c47d447682452bd72f528feffd03ef4971/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | | 5.37 kB |
134
134
  | `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) | | | 92.58 kB |
135
135
  | `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/099adcf0d4beacd078a22432eaeab08d6f1e6da5/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | | `html` `css` `json` `javascript` | 16.94 kB |
@@ -147,7 +147,7 @@ import { grammars } from 'tm-grammars'
147
147
  | `mermaid` | `mmd` | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | | 27.11 kB |
148
148
  | `mipsasm` | `mips` | [textmate/mips.tmbundle](https://github.com/textmate/mips.tmbundle/blob/eb7601016a109bf912a48a1c21988f3c4a59fb3a/Syntaxes/MIPS.tmLanguage) | | | | 2.90 kB |
149
149
  | `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/bd0aaab252fbbc6d84d4e4922ec535d17fe7e832/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modular/mojo-syntax/main/LICENSE) | | | 65.94 kB |
150
- | `moonbit` | `mbt` `mbti` | [moonbitlang/moonbit-tmLanguage](https://github.com/moonbitlang/moonbit-tmLanguage/blob/d9501977864ee8196d4f40551cfc4561f7499bc7/grammars/moonbit.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/moonbitlang/moonbit-tmLanguage/main/LICENSE) | | | 5.13 kB |
150
+ | `moonbit` | `mbt` `mbti` | [moonbitlang/moonbit-tmLanguage](https://github.com/moonbitlang/moonbit-tmLanguage/blob/75c3fca1a0136c6ee4b6a01021b6a5aa25810117/grammars/moonbit.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/moonbitlang/moonbit-tmLanguage/main/LICENSE) | | | 5.45 kB |
151
151
  | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/03e44307aefd99bac3c10bda4430a22c92d6d476/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | | 16.59 kB |
152
152
  | `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.38 kB |
153
153
  | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/720a2bd501837ca815acf4a225d9f3ba71a2adb0/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | | 4.11 kB |
@@ -191,7 +191,7 @@ import { grammars } from 'tm-grammars'
191
191
  | `ron` | | [a5huynh/vscode-ron](https://github.com/a5huynh/vscode-ron/blob/fa66afd2173e9027b77cac2dc78e1d86c6de2943/syntaxes/ron.tmGrammar.json) | [MIT](https://raw.githubusercontent.com/a5huynh/vscode-ron/master/LICENSE.md) | | | 2.71 kB |
192
192
  | `rosmsg` | | [jtbandes/ros-tmlanguage](https://github.com/jtbandes/ros-tmlanguage/blob/d8ae27bc0d04498c01cb8dc77bfe2884474d9aba/ROS%20Interface.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/ros-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 4.24 kB |
193
193
  | `rst` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/48e93f756b764991ede33ad09781a863aca6907a/extensions/restructuredtext/syntaxes/rst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html-derivative` `cpp` `python` `javascript` `shellscript` `yaml` `cmake` `ruby` | 9.07 kB |
194
- | `ruby` | `rb` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4/extensions/ruby/syntaxes/ruby.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `haml` `xml` `sql` `graphql` `css` `cpp` `c` `javascript` `shellscript` `lua` `yaml` | 42.64 kB |
194
+ | `ruby` | `rb` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/ruby/syntaxes/ruby.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `haml` `xml` `sql` `graphql` `css` `cpp` `c` `javascript` `shellscript` `lua` `yaml` | 42.68 kB |
195
195
  | `rust` | `rs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9a2c94d213696a4453b6d9988b003d98e7646e75/extensions/rust/syntaxes/rust.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 14.34 kB |
196
196
  | `sas` | | [rpardee/sas](https://github.com/rpardee/sas/blob/49f6e733c6c0b918a2a825ca2f63dba704f3e8c0/syntaxes/sas.tmLanguage) | [MIT](https://raw.githubusercontent.com/rpardee/sas/master/LICENSE) | | `sql` | 8.61 kB |
197
197
  | `sass` | | [TheRealSyler/vscode-sass-indented](https://github.com/TheRealSyler/vscode-sass-indented/blob/f0e50cfaca4b64a1d49f8d938f188d6fd0bcfb6f/syntaxes/sass.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/TheRealSyler/vscode-sass-indented/master/LICENSE) | | | 8.76 kB |
@@ -221,7 +221,7 @@ import { grammars } from 'tm-grammars'
221
221
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | | 4.12 kB |
222
222
  | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/d0af70c97ed384e93892c46b93d622ffaba5d93c/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | | `go` `javascript` `css` | 23.04 kB |
223
223
  | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | | 10.79 kB |
224
- | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/2716852bf1179651402288d6363b5b63873bb36e/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `r` | 9.11 kB |
224
+ | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `r` | 9.12 kB |
225
225
  | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | | 5.98 kB |
226
226
  | `ts-tags` | `lit` | - | | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B |
227
227
  | `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | | 633.00 B |
@@ -479,7 +479,7 @@
479
479
  ]
480
480
  },
481
481
  "citation-macro": {
482
- "begin": "((\\\\)(?:[Aa]uto|foot|full|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^)]*\\)){0,2}(?:\\[[^]]*]){0,2}\\{[-.:_\\p{Alphabetic}\\p{N}]*})*)(<[^]<>]*>)?((?:\\[[^]]*])*)(\\{)",
482
+ "begin": "((\\\\)(?:[Aa]uto|foot|full|footfull|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart|[FPfp]vol|vol)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title|url|date)?[ANP]*\\*?)((?:(?:\\([^)]*\\)){0,2}(?:\\[[^]]*]){0,2}\\{[-.:_\\p{Alphabetic}\\p{N}]*})*)(<[^]<>]*>)?((?:\\[[^]]*])*)(\\{)",
483
483
  "captures": {
484
484
  "1": {
485
485
  "name": "keyword.control.cite.latex"
@@ -2720,7 +2720,7 @@
2720
2720
  "name": "punctuation.definition.verb.latex"
2721
2721
  }
2722
2722
  },
2723
- "match": "((\\\\)(?:(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?|pyq|pycq|pyif))((?:\\[[^\\[]*?])?)(?:([^A-Za-{])(.*?)(\\4)|(\\{)(.*?)(}))",
2723
+ "match": "((\\\\)(?:(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?|pyq|pycq|pyif))((?:\\[[^\\[]*?])?)(?:([^](),;A-\\[a-{}\\s])(.*?)(\\4)|(\\{)(.*?)(}))",
2724
2724
  "name": "meta.function.verb.latex"
2725
2725
  },
2726
2726
  {
@@ -75,28 +75,37 @@
75
75
  "name": "comment.block.documentation.moonbit",
76
76
  "patterns": [
77
77
  {
78
- "begin": "\\s*```",
78
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(mbt\\s+test|mbt\\s+test(async)|mbt|moonbit\\s+test|moonbit\\s+test(async)|moonbit|)(\\s+[^`~]*)?$)",
79
79
  "beginCaptures": {
80
- "0": {
81
- "name": "markup.fenced_code.block.markdown"
80
+ "3": {
81
+ "name": "punctuation.definition.markdown"
82
+ },
83
+ "5": {
84
+ "name": "fenced_code.block.language"
85
+ },
86
+ "6": {
87
+ "name": "fenced_code.block.language.attributes"
82
88
  }
83
89
  },
84
- "end": "\\s*```",
90
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
85
91
  "endCaptures": {
86
- "0": {
87
- "name": "markup.fenced_code.block.markdown"
92
+ "3": {
93
+ "name": "punctuation.definition.markdown"
88
94
  }
89
95
  },
90
- "name": "meta.embedded.line.moonbit",
96
+ "name": "markup.fenced_code.block.markdown",
91
97
  "patterns": [
92
98
  {
93
- "include": "$self"
99
+ "begin": "(^|\\G)(\\s*)(.*)",
100
+ "contentName": "meta.embedded.block.moonbit",
101
+ "patterns": [
102
+ {
103
+ "include": "$self"
104
+ }
105
+ ],
106
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
94
107
  }
95
108
  ]
96
- },
97
- {
98
- "match": ".*",
99
- "name": "comment.block.documentation.moonbit"
100
109
  }
101
110
  ],
102
111
  "while": "///"
@@ -260,7 +269,7 @@
260
269
  "name": "keyword.control.moonbit"
261
270
  },
262
271
  {
263
- "match": "\\b(type!|lexmatch\\?|(type|typealias|let|const|enum|struct|import|trait|traitalias|derive|test|impl|with|fnalias|recur|suberror|letrec|and)\\b)",
272
+ "match": "\\b(type!|lexmatch\\?|(type|typealias|let|const|enum|struct|import|trait|traitalias|derive|test|impl|with|fnalias|recur|suberror|letrec|and|where|declare)\\b)",
264
273
  "name": "keyword.moonbit"
265
274
  },
266
275
  {
@@ -475,7 +475,7 @@
475
475
  ]
476
476
  },
477
477
  {
478
- "begin": "(?<![)\\w])((/))(?![*+?])(?=(?:\\\\/|[^/])*+/[eimnosux]*\\s*(?:[]#),.:?}]|\\|\\||&&|<=>|=>|==|=~|!~|!=|;|$|if|else|elsif|then|do|end|unless|while|until|or|and)|$)",
478
+ "begin": "(?<![)\\w])((/))(?![*+?])(?!\\s*$)(?=(?:\\\\/|[^/])*+/[eimnosux]*\\s*(?:[]#),.:?}]|\\|\\||&&|<=>|=>|==|=~|!~|!=|;|$|if|else|elsif|then|do|end|unless|while|until|or|and))",
479
479
  "captures": {
480
480
  "1": {
481
481
  "name": "string.regexp.interpolated.ruby"
@@ -1542,12 +1542,12 @@
1542
1542
  ]
1543
1543
  },
1544
1544
  {
1545
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1))",
1545
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1))",
1546
1546
  "end": "(?!\\G)",
1547
1547
  "name": "meta.embedded.block.html",
1548
1548
  "patterns": [
1549
1549
  {
1550
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1)",
1550
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1)",
1551
1551
  "beginCaptures": {
1552
1552
  "0": {
1553
1553
  "name": "string.definition.begin.ruby"
@@ -1578,12 +1578,12 @@
1578
1578
  ]
1579
1579
  },
1580
1580
  {
1581
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)HAML)\\b\\1))",
1581
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)HAML)\\b\\1))",
1582
1582
  "end": "(?!\\G)",
1583
1583
  "name": "meta.embedded.block.haml",
1584
1584
  "patterns": [
1585
1585
  {
1586
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)HAML)\\b\\1)",
1586
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)HAML)\\b\\1)",
1587
1587
  "beginCaptures": {
1588
1588
  "0": {
1589
1589
  "name": "string.definition.begin.ruby"
@@ -1614,12 +1614,12 @@
1614
1614
  ]
1615
1615
  },
1616
1616
  {
1617
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1))",
1617
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1))",
1618
1618
  "end": "(?!\\G)",
1619
1619
  "name": "meta.embedded.block.xml",
1620
1620
  "patterns": [
1621
1621
  {
1622
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1)",
1622
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1)",
1623
1623
  "beginCaptures": {
1624
1624
  "0": {
1625
1625
  "name": "string.definition.begin.ruby"
@@ -1650,12 +1650,12 @@
1650
1650
  ]
1651
1651
  },
1652
1652
  {
1653
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1))",
1653
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1))",
1654
1654
  "end": "(?!\\G)",
1655
1655
  "name": "meta.embedded.block.sql",
1656
1656
  "patterns": [
1657
1657
  {
1658
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1)",
1658
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1)",
1659
1659
  "beginCaptures": {
1660
1660
  "0": {
1661
1661
  "name": "string.definition.begin.ruby"
@@ -1686,12 +1686,12 @@
1686
1686
  ]
1687
1687
  },
1688
1688
  {
1689
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)G(?:RAPHQL|QL))\\b\\1))",
1689
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)G(?:RAPHQL|QL))\\b\\1))",
1690
1690
  "end": "(?!\\G)",
1691
1691
  "name": "meta.embedded.block.graphql",
1692
1692
  "patterns": [
1693
1693
  {
1694
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)G(?:RAPHQL|QL))\\b\\1)",
1694
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)G(?:RAPHQL|QL))\\b\\1)",
1695
1695
  "beginCaptures": {
1696
1696
  "0": {
1697
1697
  "name": "string.definition.begin.ruby"
@@ -1722,12 +1722,12 @@
1722
1722
  ]
1723
1723
  },
1724
1724
  {
1725
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1))",
1725
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1))",
1726
1726
  "end": "(?!\\G)",
1727
1727
  "name": "meta.embedded.block.css",
1728
1728
  "patterns": [
1729
1729
  {
1730
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1)",
1730
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1)",
1731
1731
  "beginCaptures": {
1732
1732
  "0": {
1733
1733
  "name": "string.definition.begin.ruby"
@@ -1758,12 +1758,12 @@
1758
1758
  ]
1759
1759
  },
1760
1760
  {
1761
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1))",
1761
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1))",
1762
1762
  "end": "(?!\\G)",
1763
1763
  "name": "meta.embedded.block.cpp",
1764
1764
  "patterns": [
1765
1765
  {
1766
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1)",
1766
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1)",
1767
1767
  "beginCaptures": {
1768
1768
  "0": {
1769
1769
  "name": "string.definition.begin.ruby"
@@ -1794,12 +1794,12 @@
1794
1794
  ]
1795
1795
  },
1796
1796
  {
1797
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)C)\\b\\1))",
1797
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)C)\\b\\1))",
1798
1798
  "end": "(?!\\G)",
1799
1799
  "name": "meta.embedded.block.c",
1800
1800
  "patterns": [
1801
1801
  {
1802
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)C)\\b\\1)",
1802
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)C)\\b\\1)",
1803
1803
  "beginCaptures": {
1804
1804
  "0": {
1805
1805
  "name": "string.definition.begin.ruby"
@@ -1830,12 +1830,12 @@
1830
1830
  ]
1831
1831
  },
1832
1832
  {
1833
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)J(?:S|AVASCRIPT))\\b\\1))",
1833
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)J(?:S|AVASCRIPT))\\b\\1))",
1834
1834
  "end": "(?!\\G)",
1835
1835
  "name": "meta.embedded.block.js",
1836
1836
  "patterns": [
1837
1837
  {
1838
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)J(?:S|AVASCRIPT))\\b\\1)",
1838
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)J(?:S|AVASCRIPT))\\b\\1)",
1839
1839
  "beginCaptures": {
1840
1840
  "0": {
1841
1841
  "name": "string.definition.begin.ruby"
@@ -1866,12 +1866,12 @@
1866
1866
  ]
1867
1867
  },
1868
1868
  {
1869
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1))",
1869
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1))",
1870
1870
  "end": "(?!\\G)",
1871
1871
  "name": "meta.embedded.block.js.jquery",
1872
1872
  "patterns": [
1873
1873
  {
1874
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1)",
1874
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1)",
1875
1875
  "beginCaptures": {
1876
1876
  "0": {
1877
1877
  "name": "string.definition.begin.ruby"
@@ -1902,12 +1902,12 @@
1902
1902
  ]
1903
1903
  },
1904
1904
  {
1905
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)SH(?:|ELL))\\b\\1))",
1905
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)SH(?:|ELL))\\b\\1))",
1906
1906
  "end": "(?!\\G)",
1907
1907
  "name": "meta.embedded.block.shell",
1908
1908
  "patterns": [
1909
1909
  {
1910
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)SH(?:|ELL))\\b\\1)",
1910
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)SH(?:|ELL))\\b\\1)",
1911
1911
  "beginCaptures": {
1912
1912
  "0": {
1913
1913
  "name": "string.definition.begin.ruby"
@@ -1938,12 +1938,12 @@
1938
1938
  ]
1939
1939
  },
1940
1940
  {
1941
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1))",
1941
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1))",
1942
1942
  "end": "(?!\\G)",
1943
1943
  "name": "meta.embedded.block.lua",
1944
1944
  "patterns": [
1945
1945
  {
1946
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1)",
1946
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1)",
1947
1947
  "beginCaptures": {
1948
1948
  "0": {
1949
1949
  "name": "string.definition.begin.ruby"
@@ -1974,12 +1974,12 @@
1974
1974
  ]
1975
1975
  },
1976
1976
  {
1977
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1))",
1977
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1))",
1978
1978
  "end": "(?!\\G)",
1979
1979
  "name": "meta.embedded.block.ruby",
1980
1980
  "patterns": [
1981
1981
  {
1982
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1)",
1982
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1)",
1983
1983
  "beginCaptures": {
1984
1984
  "0": {
1985
1985
  "name": "string.definition.begin.ruby"
@@ -2010,12 +2010,12 @@
2010
2010
  ]
2011
2011
  },
2012
2012
  {
2013
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)YA?ML)\\b\\1))",
2013
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)YA?ML)\\b\\1))",
2014
2014
  "end": "(?!\\G)",
2015
2015
  "name": "meta.embedded.block.yaml",
2016
2016
  "patterns": [
2017
2017
  {
2018
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)YA?ML)\\b\\1)",
2018
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)YA?ML)\\b\\1)",
2019
2019
  "beginCaptures": {
2020
2020
  "0": {
2021
2021
  "name": "string.definition.begin.ruby"
@@ -2046,12 +2046,12 @@
2046
2046
  ]
2047
2047
  },
2048
2048
  {
2049
- "begin": "(?=(?><<[-~]([\"'`]?)((?:[_\\w]+_|)SLIM)\\b\\1))",
2049
+ "begin": "(?=(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)SLIM)\\b\\1))",
2050
2050
  "end": "(?!\\G)",
2051
2051
  "name": "meta.embedded.block.slim",
2052
2052
  "patterns": [
2053
2053
  {
2054
- "begin": "(?><<[-~]([\"'`]?)((?:[_\\w]+_|)SLIM)\\b\\1)",
2054
+ "begin": "(?><<[-~]?([\"'`]?)((?:[_\\w]+_|)SLIM)\\b\\1)",
2055
2055
  "beginCaptures": {
2056
2056
  "0": {
2057
2057
  "name": "string.definition.begin.ruby"
@@ -2108,7 +2108,7 @@
2108
2108
  ]
2109
2109
  },
2110
2110
  {
2111
- "begin": "(?>((<<[-~]([\"'`]?)(\\w+)\\3,\\s?)*<<[-~]([\"'`]?)(\\w+)\\5))(.*)",
2111
+ "begin": "(?>((<<[-~]?([\"'`]?)(\\w+)\\3,\\s?)*<<[-~]?([\"'`]?)(\\w+)\\5))(.*)",
2112
2112
  "beginCaptures": {
2113
2113
  "1": {
2114
2114
  "name": "string.definition.begin.ruby"
package/grammars/tex.json CHANGED
@@ -103,7 +103,7 @@
103
103
  ]
104
104
  },
105
105
  "conditionals": {
106
- "begin": "(?<=^\\s*)\\\\if[a-z]*",
106
+ "begin": "(?<=^\\s*)\\\\if(?!f\\b)[a-z]*",
107
107
  "end": "(?<=^\\s*)\\\\fi",
108
108
  "patterns": [
109
109
  {
package/index.js CHANGED
@@ -2184,15 +2184,15 @@ export const grammars = [
2184
2184
  ],
2185
2185
  funding: [
2186
2186
  ],
2187
- hash: '6jSdmL6c5ZYTLF-xyRSCFEXfSlWR4AHcqlk1g_8DvJM',
2188
- lastUpdate: '2025-07-08T10:59:18Z',
2187
+ hash: 'WzMeEKyqMMakVkAe34NXJ8wyFTR7gOVwLZzwvEYKhlI',
2188
+ lastUpdate: '2026-01-30T15:33:10Z',
2189
2189
  license: 'MIT',
2190
2190
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
2191
2191
  name: 'julia',
2192
2192
  scopeName: 'source.julia',
2193
- sha: 'f8bb386a48f799f890d00f217a90f615c9b3866c',
2194
- source: 'https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/julia/syntaxes/julia.tmLanguage.json',
2195
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/julia/syntaxes/julia.tmLanguage.json?ref=f8bb386a48f799f890d00f217a90f615c9b3866c',
2193
+ sha: '609f17a76734f092792a33c891af40bbcaea0c64',
2194
+ source: 'https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/julia/syntaxes/julia.tmLanguage.json',
2195
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/julia/syntaxes/julia.tmLanguage.json?ref=609f17a76734f092792a33c891af40bbcaea0c64',
2196
2196
  },
2197
2197
  {
2198
2198
  byteSize: 3424,
@@ -2256,7 +2256,7 @@ export const grammars = [
2256
2256
  sourceApi: 'https://api.github.com/repos/rosshamish/kuskus/contents/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json?ref=ff48034975f387ba79258776e5d452bee43a6233',
2257
2257
  },
2258
2258
  {
2259
- byteSize: 69577,
2259
+ byteSize: 69620,
2260
2260
  categories: [
2261
2261
  'markup',
2262
2262
  ],
@@ -2282,15 +2282,15 @@ export const grammars = [
2282
2282
  ],
2283
2283
  funding: [
2284
2284
  ],
2285
- hash: 'rXU1aLyRVLYt-KojT3JTq157SVVK2HPu5Pul4ZZfruo',
2286
- lastUpdate: '2026-01-08T16:24:04Z',
2285
+ hash: 'XaHC25wkMYEpMch-VaIUnsUEBs-ahZ1A8MzHozOoixc',
2286
+ lastUpdate: '2026-01-30T15:33:10Z',
2287
2287
  license: 'MIT',
2288
2288
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
2289
2289
  name: 'latex',
2290
2290
  scopeName: 'text.tex.latex',
2291
- sha: 'c8fdd1650c06321d687ddfd1eff06aae4b616256',
2292
- source: 'https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
2293
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/LaTeX.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
2291
+ sha: '609f17a76734f092792a33c891af40bbcaea0c64',
2292
+ source: 'https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
2293
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/LaTeX.tmLanguage.json?ref=609f17a76734f092792a33c891af40bbcaea0c64',
2294
2294
  },
2295
2295
  {
2296
2296
  aliases: [
@@ -2718,22 +2718,22 @@ export const grammars = [
2718
2718
  'mbt',
2719
2719
  'mbti',
2720
2720
  ],
2721
- byteSize: 5253,
2721
+ byteSize: 5583,
2722
2722
  categories: [
2723
2723
  'general',
2724
2724
  ],
2725
2725
  displayName: 'MoonBit',
2726
2726
  funding: [
2727
2727
  ],
2728
- hash: 'GdNpxS43j1J7RQ97qIz_9dS4iDIGZ4E-L4JEPR5x5b0',
2729
- lastUpdate: '2025-11-04T03:43:34Z',
2728
+ hash: 'jWKKyHE3cowrgYaILFR5YbWGHS55RltFX0nA6R1-y-U',
2729
+ lastUpdate: '2026-01-21T04:10:01Z',
2730
2730
  license: 'Apache-2.0',
2731
2731
  licenseUrl: 'https://raw.githubusercontent.com/moonbitlang/moonbit-tmLanguage/main/LICENSE',
2732
2732
  name: 'moonbit',
2733
2733
  scopeName: 'source.moonbit',
2734
- sha: 'd9501977864ee8196d4f40551cfc4561f7499bc7',
2735
- source: 'https://github.com/moonbitlang/moonbit-tmLanguage/blob/d9501977864ee8196d4f40551cfc4561f7499bc7/grammars/moonbit.tmLanguage.json',
2736
- sourceApi: 'https://api.github.com/repos/moonbitlang/moonbit-tmLanguage/contents/grammars/moonbit.tmLanguage.json?ref=d9501977864ee8196d4f40551cfc4561f7499bc7',
2734
+ sha: '75c3fca1a0136c6ee4b6a01021b6a5aa25810117',
2735
+ source: 'https://github.com/moonbitlang/moonbit-tmLanguage/blob/75c3fca1a0136c6ee4b6a01021b6a5aa25810117/grammars/moonbit.tmLanguage.json',
2736
+ sourceApi: 'https://api.github.com/repos/moonbitlang/moonbit-tmLanguage/contents/grammars/moonbit.tmLanguage.json?ref=75c3fca1a0136c6ee4b6a01021b6a5aa25810117',
2737
2737
  },
2738
2738
  {
2739
2739
  byteSize: 16984,
@@ -3602,7 +3602,7 @@ export const grammars = [
3602
3602
  aliases: [
3603
3603
  'rb',
3604
3604
  ],
3605
- byteSize: 43665,
3605
+ byteSize: 43704,
3606
3606
  categories: [
3607
3607
  'general',
3608
3608
  ],
@@ -3623,15 +3623,15 @@ export const grammars = [
3623
3623
  ],
3624
3624
  funding: [
3625
3625
  ],
3626
- hash: 'WjBpiLVK_j0CJniEfi0ahwHHZ2-CmM6shS1RN8lyjbk',
3627
- lastUpdate: '2025-05-02T13:29:24Z',
3626
+ hash: 'NlOw44zs3PYED6ePXEzbPBGm5RVNPsrNtqZD4qyumjk',
3627
+ lastUpdate: '2026-01-30T15:33:10Z',
3628
3628
  license: 'MIT',
3629
3629
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
3630
3630
  name: 'ruby',
3631
3631
  scopeName: 'source.ruby',
3632
- sha: '0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4',
3633
- source: 'https://github.com/microsoft/vscode/blob/0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4/extensions/ruby/syntaxes/ruby.tmLanguage.json',
3634
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/ruby/syntaxes/ruby.tmLanguage.json?ref=0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4',
3632
+ sha: '609f17a76734f092792a33c891af40bbcaea0c64',
3633
+ source: 'https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/ruby/syntaxes/ruby.tmLanguage.json',
3634
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/ruby/syntaxes/ruby.tmLanguage.json?ref=609f17a76734f092792a33c891af40bbcaea0c64',
3635
3635
  },
3636
3636
  {
3637
3637
  aliases: [
@@ -4214,7 +4214,7 @@ export const grammars = [
4214
4214
  sourceApi: 'https://api.github.com/repos/hashicorp/syntax/contents/syntaxes/terraform.tmGrammar.json?ref=cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
4215
4215
  },
4216
4216
  {
4217
- byteSize: 9327,
4217
+ byteSize: 9335,
4218
4218
  categories: [
4219
4219
  'markup',
4220
4220
  ],
@@ -4224,15 +4224,15 @@ export const grammars = [
4224
4224
  ],
4225
4225
  funding: [
4226
4226
  ],
4227
- hash: 'Kn5BOHTNHEic6vkAOxZdFdGk6G-_TpDmliQkRfXBBy8',
4228
- lastUpdate: '2025-11-07T11:31:19Z',
4227
+ hash: 'CABaml1FuXsF-3bzNVxDH66oKAN30D7MVsXHm8YzVSA',
4228
+ lastUpdate: '2026-01-30T15:33:10Z',
4229
4229
  license: 'MIT',
4230
4230
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
4231
4231
  name: 'tex',
4232
4232
  scopeName: 'text.tex',
4233
- sha: '2716852bf1179651402288d6363b5b63873bb36e',
4234
- source: 'https://github.com/microsoft/vscode/blob/2716852bf1179651402288d6363b5b63873bb36e/extensions/latex/syntaxes/TeX.tmLanguage.json',
4235
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/TeX.tmLanguage.json?ref=2716852bf1179651402288d6363b5b63873bb36e',
4233
+ sha: '609f17a76734f092792a33c891af40bbcaea0c64',
4234
+ source: 'https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/latex/syntaxes/TeX.tmLanguage.json',
4235
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/TeX.tmLanguage.json?ref=609f17a76734f092792a33c891af40bbcaea0c64',
4236
4236
  },
4237
4237
  {
4238
4238
  byteSize: 6126,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.30.1",
4
+ "version": "1.30.3",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",