diff options
| author | tianwen <yaohii@foxmail.com> | 2025-12-05 09:47:33 +0800 |
|---|---|---|
| committer | tianwen <yaohii@foxmail.com> | 2025-12-05 09:47:33 +0800 |
| commit | dde0f8d6d81249588382672f3fc92e13077d2702 (patch) | |
| tree | 95fbe2c7b19160fd540b8937134e232d1f13ebe3 /editors | |
| parent | 787544c10e5842efc9990a12de680b471333ba4a (diff) | |
Add region folding for vscode
Diffstat (limited to 'editors')
| -rw-r--r-- | editors/vscode/language-configuration.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/vscode/language-configuration.json b/editors/vscode/language-configuration.json index c0c2a06..489ef65 100644 --- a/editors/vscode/language-configuration.json +++ b/editors/vscode/language-configuration.json @@ -28,5 +28,10 @@ "increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$|^\\s*case.*:$", "decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]" }, - + "folding": { + "markers": { + "start": "^\\s*//\\s*?region\\b", + "end": "^\\s*//\\s*?endregion\\b" + } + } }
\ No newline at end of file |