From 540c870da50d815c297dae361e14d9bcfd01aa43 Mon Sep 17 00:00:00 2001 From: Ahmed Ihsan Tawfeeq Date: Fri, 3 Nov 2023 15:45:33 -0600 Subject: [PATCH] feat: add support for region comments --- client/language-configuration.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/language-configuration.json b/client/language-configuration.json index 3cb8e60b..081b153c 100644 --- a/client/language-configuration.json +++ b/client/language-configuration.json @@ -32,6 +32,12 @@ ["[", "]"], ["(", ")"] ], + "folding": { + "markers": { + "start": "^\\s*//\\s*#?region\\b", + "end": "^\\s*//\\s*#?endregion\\b" + } + }, "onEnterRules": [ { // e.g. /** | */