Support # pragma folding markers in C (#284927)

This commit is contained in:
RedCMD
2025-12-26 00:37:40 +13:00
committed by GitHub
parent 83f180cca3
commit 3eb7d6567b

View File

@@ -93,8 +93,8 @@
"wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
"folding": {
"markers": {
"start": "^\\s*#pragma\\s+region\\b",
"end": "^\\s*#pragma\\s+endregion\\b"
"start": "^\\s*#\\s*pragma\\s+region\\b",
"end": "^\\s*#\\s*pragma\\s+endregion\\b"
}
},
"indentationRules": {