mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
[folding] fix cpp regions
This commit is contained in:
parent
03933dcb7e
commit
1b9ea33425
|
@ -25,5 +25,11 @@
|
|||
"indentationRules": {
|
||||
"increaseIndentPattern": "^.*\\{[^}\"\\']*$|^.*\\([^\\)\"\\']*$|^\\s*(public|private|protected):\\s*$|^\\s*@(public|private|protected)\\s*$|^\\s*\\{\\}$",
|
||||
"decreaseIndentPattern": "^\\s*(\\s*/[*].*[*]/\\s*)*\\}|^\\s*(\\s*/[*].*[*]/\\s*)*\\)|^\\s*(public|private|protected):\\s*$|^\\s*@(public|private|protected)\\s*$"
|
||||
},
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*#pragma\\s+region",
|
||||
"end": "^\\s*#pragma\\s+endregion"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -33,11 +33,5 @@
|
|||
"scopeName": "source.c.platform",
|
||||
"path": "./syntaxes/Platform.tmLanguage"
|
||||
}]
|
||||
},
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*#pragma\\s+region",
|
||||
"end": "^\\s*#pragma\\s+endregion"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue