tm-grammars 1.12.3 → 1.12.5

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
@@ -119,7 +119,7 @@ import { grammars } from 'tm-grammars'
119
119
  | `jsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 173.35 kB |
120
120
  | `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp` `python` `javascript` `r` `sql` | 32.82 kB |
121
121
  | `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/bb71d917dd97b756d45f2594346efe3d70a15060/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | 8.22 kB |
122
- | `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/0470269a8381eb43b6e54eb5b5ab6b39e44ebfb8/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.24 kB |
122
+ | `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.60 kB |
123
123
  | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/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` | 53.88 kB |
124
124
  | `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 79.57 kB |
125
125
  | `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/909aab5b1d8be374585bd02ef46e0e38d65f2f89/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | `html` `css` `json` `javascript` | 15.31 kB |
@@ -134,7 +134,7 @@ import { grammars } from 'tm-grammars'
134
134
  | `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/371d61df9ddc3850e12aabe61b602d02e259e8a4/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 120.76 kB |
135
135
  | `mermaid` | | [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) | | 24.78 kB |
136
136
  | `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) | | 72.91 kB |
137
- | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/6f8ae1a8a5edb63283a6f89284f8158e4544b16c/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 17.06 kB |
137
+ | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/7909b9096669930da1c9c08a2202e991c7187bfe/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 17.41 kB |
138
138
  | `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.41 kB |
139
139
  | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/7eeb9be8d01556b7c51c59307275c2f720f2ddf4/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md) | | 4.40 kB |
140
140
  | `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 |
@@ -163,7 +163,7 @@ import { grammars } from 'tm-grammars'
163
163
  | `qmldir` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/b301e7b18493ba59c4f52e49c3f73b6cd23d4c4b/syntaxes/qmldir.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 902.00 B |
164
164
  | `qss` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/f0a56a97d10f58ab7b4b6e2ab6ce34ca4c9d521d/syntaxes/qss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 7.46 kB |
165
165
  | `r` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 33.83 kB |
166
- | `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/efda8ccdeaaf3b935a75b967ed13943f4151a6dd/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 100.93 kB |
166
+ | `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 100.94 kB |
167
167
  | `raku` | `perl6` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.05 kB |
168
168
  | `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.50 kB |
169
169
  | `reg` | | [mihai-vlc/reg-vscode](https://github.com/mihai-vlc/reg-vscode/blob/896096fc6756329d82c71a913663a1c0ac678f74/syntaxes/reg.tmLanguage) | [MIT](https://raw.githubusercontent.com/mihai-vlc/reg-vscode/master/LICENSE) | | 2.20 kB |
@@ -670,6 +670,27 @@
670
670
  "include": "#Escapes"
671
671
  }
672
672
  ]
673
+ },
674
+ {
675
+ "begin": "([@h]?```)",
676
+ "beginCaptures": {
677
+ "1": {
678
+ "name": "punctuation.definition.string.kusto"
679
+ }
680
+ },
681
+ "comment": "https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/string#multi-line-string-literals",
682
+ "end": "```",
683
+ "endCaptures": {
684
+ "0": {
685
+ "name": "punctuation.definition.string.kusto"
686
+ }
687
+ },
688
+ "name": "string.quoted.multi.kusto",
689
+ "patterns": [
690
+ {
691
+ "include": "#Escapes"
692
+ }
693
+ ]
673
694
  }
674
695
  ]
675
696
  },
@@ -120,6 +120,9 @@
120
120
  "comments": {
121
121
  "name": "meta.comments.move",
122
122
  "patterns": [
123
+ {
124
+ "include": "#doc-comments"
125
+ },
123
126
  {
124
127
  "include": "#line-comments"
125
128
  },
@@ -158,6 +161,23 @@
158
161
  "match": "\\b(return|while|loop|if|else|break|continue|abort)\\b",
159
162
  "name": "keyword.control.move"
160
163
  },
164
+ "doc-comments": {
165
+ "begin": "///",
166
+ "comment": "Documentation comment",
167
+ "end": "$",
168
+ "name": "comment.block.documentation.move",
169
+ "patterns": [
170
+ {
171
+ "captures": {
172
+ "1": {
173
+ "name": "markup.underline.link.move"
174
+ }
175
+ },
176
+ "comment": "Escaped member / link",
177
+ "match": "`(\\w+)`"
178
+ }
179
+ ]
180
+ },
161
181
  "entry": {
162
182
  "comment": "entry",
163
183
  "match": "\\b(entry)\\b",
@@ -656,6 +676,11 @@
656
676
  "end": "\"",
657
677
  "name": "meta.vector.literal.ascii.move",
658
678
  "patterns": [
679
+ {
680
+ "comment": "character escape",
681
+ "match": "\\\\.",
682
+ "name": "constant.character.escape.move"
683
+ },
659
684
  {
660
685
  "comment": "Special symbol escape",
661
686
  "match": "\\\\[nrt\\0\"]",
@@ -279,8 +279,8 @@
279
279
  "character": {
280
280
  "patterns": [
281
281
  {
282
- "match": "(?x) \\#\\\\\n(?:\n(?: [0-7]{3}) |\n(?: u[0-9a-fA-F]{1,4}) |\n(?: U[0-9a-fA-F]{1,6}) |\n(?:\n(?:\nnull? | newline | linefeed | backspace | vtab | page |\nreturn | space | rubout | (?: [^\\w\\s] | \\d)\n)\n(?![a-zA-Z])\n) |\n(?: [^\\W\\d](?=[\\W\\d]) | \\W )\n)\n",
283
- "name": "constant.character.racket"
282
+ "match": "(?x) \\#\\\\\n(?:\n(?: [0-7]{3}) |\n(?: u[0-9a-fA-F]{1,4}) |\n(?: U[0-9a-fA-F]{1,6}) |\n(?:\n(?:\nnull? | newline | linefeed | backspace | v?tab | page |\nreturn | space | rubout | (?: [^\\w\\s] | \\d)\n)\n(?![a-zA-Z])\n) |\n(?: [^\\W\\d](?=[\\W\\d]) | \\W )\n)\n",
283
+ "name": "string.quoted.single.racket"
284
284
  }
285
285
  ]
286
286
  },
package/index.js CHANGED
@@ -1565,13 +1565,13 @@ export const grammars = [
1565
1565
  aliases: [
1566
1566
  'kql',
1567
1567
  ],
1568
- byteSize: 19702,
1568
+ byteSize: 20074,
1569
1569
  displayName: 'Kusto',
1570
- lastUpdate: '2024-05-13T03:27:46Z',
1570
+ lastUpdate: '2024-05-24T06:19:58Z',
1571
1571
  name: 'kusto',
1572
1572
  scopeName: 'source.kusto',
1573
- sha: '0470269a8381eb43b6e54eb5b5ab6b39e44ebfb8',
1574
- source: 'https://github.com/rosshamish/kuskus/blob/0470269a8381eb43b6e54eb5b5ab6b39e44ebfb8/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json',
1573
+ sha: '6e6deead4af243432902869e1767df8a612cffe1',
1574
+ source: 'https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json',
1575
1575
  },
1576
1576
  {
1577
1577
  byteSize: 55169,
@@ -1899,15 +1899,15 @@ export const grammars = [
1899
1899
  source: 'https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json',
1900
1900
  },
1901
1901
  {
1902
- byteSize: 17473,
1902
+ byteSize: 17828,
1903
1903
  displayName: 'Move',
1904
- lastUpdate: '2024-04-22T17:43:01Z',
1904
+ lastUpdate: '2024-05-24T08:48:59Z',
1905
1905
  license: 'MIT',
1906
1906
  licenseUrl: 'https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE',
1907
1907
  name: 'move',
1908
1908
  scopeName: 'source.move',
1909
- sha: '6f8ae1a8a5edb63283a6f89284f8158e4544b16c',
1910
- source: 'https://github.com/damirka/move-syntax/blob/6f8ae1a8a5edb63283a6f89284f8158e4544b16c/syntaxes/move.tmLanguage.json',
1909
+ sha: '7909b9096669930da1c9c08a2202e991c7187bfe',
1910
+ source: 'https://github.com/damirka/move-syntax/blob/7909b9096669930da1c9c08a2202e991c7187bfe/syntaxes/move.tmLanguage.json',
1911
1911
  },
1912
1912
  {
1913
1913
  aliases: [
@@ -2328,18 +2328,18 @@ export const grammars = [
2328
2328
  source: 'https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json',
2329
2329
  },
2330
2330
  {
2331
- byteSize: 103356,
2331
+ byteSize: 103359,
2332
2332
  categories: [
2333
2333
  'lisp',
2334
2334
  ],
2335
2335
  displayName: 'Racket',
2336
- lastUpdate: '2022-10-19T22:21:49Z',
2336
+ lastUpdate: '2024-05-29T13:14:07Z',
2337
2337
  license: 'GPL-3.0',
2338
2338
  licenseUrl: 'https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE',
2339
2339
  name: 'racket',
2340
2340
  scopeName: 'source.racket',
2341
- sha: 'efda8ccdeaaf3b935a75b967ed13943f4151a6dd',
2342
- source: 'https://github.com/Eugleo/magic-racket/blob/efda8ccdeaaf3b935a75b967ed13943f4151a6dd/syntaxes/racket.tmLanguage.json',
2341
+ sha: '6a4d9934b3ec523162ab0243b5cb0e785316507a',
2342
+ source: 'https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json',
2343
2343
  },
2344
2344
  {
2345
2345
  aliases: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.12.3",
4
+ "version": "1.12.5",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",