Skip to content

Commit b3b31f7

Browse files
committed
[cshtml] // commenting inside @{ } code blocks. Fixes microsoft#24693
1 parent b22bd47 commit b3b31f7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

extensions/razor/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
"grammars": [{
2020
"language": "razor",
2121
"scopeName": "text.html.cshtml",
22-
"path": "./syntaxes/cshtml.json"
22+
"path": "./syntaxes/cshtml.json",
23+
"embeddedLanguages": {
24+
"section.embedded.source.cshtml": "csharp"
25+
}
2326
}]
2427
}
2528
}

0 commit comments

Comments
 (0)