Skip to content

Commit 66852c9

Browse files
authored
Fixed ragion markers not showing
# Pure vscode (no ext) ![Working](https://i.imgur.com/aDT6MQN.gif) # Only YAML Support by Red Hat ext ## Before ![Not Working](https://i.imgur.com/Ht7fodH.png) ## After ![Working](https://i.imgur.com/ZppPmFd.gif)
1 parent 93bae60 commit 66852c9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

language-configuration.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@
2222
["'", "'"]
2323
],
2424
"folding": {
25-
"offSide": true
25+
"offSide": true,
26+
"markers": {
27+
"start": "^\\s*#\\s*region\\b",
28+
"end": "^\\s*#\\s*endregion\\b"
29+
}
2630
},
2731
"indentationRules": {
2832
"increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
2933
"decreaseIndentPattern": "^\\s+\\}$"
3034
}
31-
}
35+
}

0 commit comments

Comments
 (0)