tm-grammars 1.6.6 → 1.6.7
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 +1 -1
- package/grammars/razor.json +22 -0
- package/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ import { grammars } from 'tm-grammars'
|
|
|
149
149
|
| `python` | `py` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf4c9e469d521fa5f33353737e8157eb0789ad02/extensions/python/syntaxes/MagicPython.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 73.77 kB |
|
|
150
150
|
| `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 |
|
|
151
151
|
| `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 |
|
|
152
|
-
| `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/
|
|
152
|
+
| `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 |
|
|
153
153
|
| `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 |
|
|
154
154
|
| `rel` | | [relationalai-oss/rel_vscode](https://github.com/relationalai-oss/rel_vscode/blob/63dda4dee48c67b037357f47b562185484555ea9/syntaxes/rel.tmLanguage.json) | | | 3.18 kB |
|
|
155
155
|
| `riscv` | | [zhuanhao-wu/vscode-riscv-support](https://github.com/zhuanhao-wu/vscode-riscv-support/blob/2736b60e45ff2ef738d784055e136cf38d6290cd/syntaxes/riscv.tmLanguage) | [MIT](https://raw.githubusercontent.com/zhuanhao-wu/vscode-riscv-support/master/LICENSE) | | 7.04 kB |
|
package/grammars/razor.json
CHANGED
|
@@ -4,6 +4,28 @@
|
|
|
4
4
|
"razor",
|
|
5
5
|
"cshtml"
|
|
6
6
|
],
|
|
7
|
+
"injections": {
|
|
8
|
+
"string.quoted.double.html": {
|
|
9
|
+
"patterns": [
|
|
10
|
+
{
|
|
11
|
+
"include": "#explicit-razor-expression"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"include": "#implicit-expression"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"string.quoted.single.html": {
|
|
19
|
+
"patterns": [
|
|
20
|
+
{
|
|
21
|
+
"include": "#explicit-razor-expression"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"include": "#implicit-expression"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
7
29
|
"name": "razor",
|
|
8
30
|
"patterns": [
|
|
9
31
|
{
|
package/index.js
CHANGED
|
@@ -2075,19 +2075,19 @@ export const grammars = [
|
|
|
2075
2075
|
source: 'https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json',
|
|
2076
2076
|
},
|
|
2077
2077
|
{
|
|
2078
|
-
byteSize:
|
|
2078
|
+
byteSize: 25089,
|
|
2079
2079
|
displayName: 'ASP.NET Razor',
|
|
2080
2080
|
embedded: [
|
|
2081
2081
|
'html',
|
|
2082
2082
|
'csharp',
|
|
2083
2083
|
],
|
|
2084
|
-
lastUpdate: '2024-
|
|
2084
|
+
lastUpdate: '2024-04-18T22:08:48Z',
|
|
2085
2085
|
license: 'MIT',
|
|
2086
2086
|
licenseUrl: 'https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt',
|
|
2087
2087
|
name: 'razor',
|
|
2088
2088
|
scopeName: 'text.aspnetcorerazor',
|
|
2089
|
-
sha: '
|
|
2090
|
-
source: 'https://github.com/dotnet/razor/blob/
|
|
2089
|
+
sha: '39159764277f3c80a786d8872eba7730da3d7ef0',
|
|
2090
|
+
source: 'https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json',
|
|
2091
2091
|
},
|
|
2092
2092
|
{
|
|
2093
2093
|
byteSize: 2255,
|
package/package.json
CHANGED