We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bf9714 + 37a18b1 commit 9e6b2b0Copy full SHA for 9e6b2b0
src/razor/syntaxes/aspnetcorerazor.tmLanguage.json
@@ -529,7 +529,7 @@
529
]
530
},
531
"code-directive": {
532
- "begin": "(@)(code)\\s*",
+ "begin": "(@)(code)((?=\\{)|\\s+)",
533
"beginCaptures": {
534
"1": {
535
"patterns": [
@@ -550,7 +550,7 @@
550
"end": "(?<=})|\\s"
551
552
"functions-directive": {
553
- "begin": "(@)(functions)\\s*",
+ "begin": "(@)(functions)((?=\\{)|\\s+)",
554
555
556
@@ -1809,4 +1809,4 @@
1809
}
1810
1811
1812
-}
+}
0 commit comments