tm-grammars 1.23.1 → 1.23.2
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 +2 -2
- package/grammars/cpp.json +1 -1
- package/grammars/haskell.json +1 -1
- package/grammars/mermaid.json +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ import { grammars } from 'tm-grammars'
|
|
|
54
54
|
| `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `javascript` | 25.96 kB |
|
|
55
55
|
| `common-lisp` | `lisp` | [qingpeng9802/vscode-common-lisp](https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/qingpeng9802/vscode-common-lisp/master/LICENSE) | | | 22.04 kB |
|
|
56
56
|
| `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/1c2846a72b451c45645dba8c1147ab83b9002ad5/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/coq/vscoq/main/LICENSE) | | | 4.89 kB |
|
|
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` | 376.
|
|
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` | 376.45 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` | 27.45 kB |
|
|
59
59
|
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/a26707320440021f45b508767c94c2634eb6e897/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 80.51 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) | | | 47.14 kB |
|
|
@@ -140,7 +140,7 @@ import { grammars } from 'tm-grammars'
|
|
|
140
140
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | | 15.07 kB |
|
|
141
141
|
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/96f619ccd8df724e5bd94eb28b87e03b769a8c41/syntaxes/mdc.standalone.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | | `markdown` `yaml` `html-derivative` | 18.74 kB |
|
|
142
142
|
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/c78b1e5df644d24fa76716bbe26f4b48a6fc1610/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` | 127.96 kB |
|
|
143
|
-
| `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) | | | 26.
|
|
143
|
+
| `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) | | | 26.22 kB |
|
|
144
144
|
| `mipsasm` | `mips` | [textmate/mips.tmbundle](https://github.com/textmate/mips.tmbundle/blob/eb7601016a109bf912a48a1c21988f3c4a59fb3a/Syntaxes/MIPS.tmLanguage) | | | | 2.96 kB |
|
|
145
145
|
| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modular/mojo-syntax/main/LICENSE) | | | 66.03 kB |
|
|
146
146
|
| `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) | | | 16.17 kB |
|
package/grammars/cpp.json
CHANGED
|
@@ -3320,7 +3320,7 @@
|
|
|
3320
3320
|
"name": "meta.banner.character.cpp"
|
|
3321
3321
|
}
|
|
3322
3322
|
},
|
|
3323
|
-
"match": "(?:(^\\s+{0,1}((//)\\s+{0,1}([#;/=*C~]
|
|
3323
|
+
"match": "(?:(^\\s+{0,1}((//)\\s+{0,1}([#;/=*C~]++(?![#;/=*C~]))\\s+{0,1}.+\\s+{0,1}\\4\\s+{0,1}(?:\\n|$)))|(^\\s+{0,1}((/\\*)\\s+{0,1}([#;/=*C~]++(?![#;/=*C~]))\\s+{0,1}.+\\s+{0,1}\\8\\s+{0,1}\\*/)))"
|
|
3324
3324
|
},
|
|
3325
3325
|
"empty_square_brackets": {
|
|
3326
3326
|
"match": "(?<!delete)\\[\\s+{0,1}]",
|
package/grammars/haskell.json
CHANGED
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"name": "keyword.operator.pipe.haskell"
|
|
572
572
|
}
|
|
573
573
|
},
|
|
574
|
-
"end": "(?:\\G|^)\\s*(?:(?<!')\\b([\\p{Ll}_\\p{Lu}\\p{Lt}\\d'.]+)|('?(?<paren>\\((?:[^()]
|
|
574
|
+
"end": "(?:\\G|^)\\s*(?:(?<!')\\b([\\p{Ll}_\\p{Lu}\\p{Lt}\\d'.]+)|('?(?<paren>\\((?:[^()]?|\\g<paren>)*\\)))|('?(?<brac>\\((?:[^\\[\\]]?|\\g<brac>)*])))\\s*(?:(?<![[\\p{S}\\p{P}]&&[^(),;\\[\\]`{}_\"']])(:[[\\p{S}\\p{P}]&&[^(),;\\[\\]`{}_\"']]*)|(`)([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\d']*)(`))|(?<!')\\b([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\d']*)|(\\()\\s*(:[[\\p{S}\\p{P}]&&[^(),;\\[\\]`{}_\"']]*)\\s*(\\))",
|
|
575
575
|
"endCaptures": {
|
|
576
576
|
"1": {
|
|
577
577
|
"patterns": [
|
package/grammars/mermaid.json
CHANGED
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
"name": "string"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
|
-
"match": "(?i)^\\s*(excludes)\\s+((?:[\\d\\-,\\s]
|
|
597
|
+
"match": "(?i)^\\s*(excludes)\\s+((?:[\\d\\-,\\s]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)"
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
"captures": {
|
package/index.js
CHANGED
|
@@ -684,7 +684,7 @@ export const grammars = [
|
|
|
684
684
|
aliases: [
|
|
685
685
|
'c++',
|
|
686
686
|
],
|
|
687
|
-
byteSize:
|
|
687
|
+
byteSize: 385482,
|
|
688
688
|
categories: [
|
|
689
689
|
'general',
|
|
690
690
|
],
|
|
@@ -2434,7 +2434,7 @@ export const grammars = [
|
|
|
2434
2434
|
aliases: [
|
|
2435
2435
|
'mmd',
|
|
2436
2436
|
],
|
|
2437
|
-
byteSize:
|
|
2437
|
+
byteSize: 26854,
|
|
2438
2438
|
displayName: 'Mermaid',
|
|
2439
2439
|
funding: [
|
|
2440
2440
|
],
|