diff --git a/language-configuration.json b/language-configuration.json index 2ba3beb..7f90c25 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -23,5 +23,11 @@ ["(", ")"], ["\"", "\""], ["'", "'"] - ] -} \ No newline at end of file + ], + "folding": { + "markers": { + "start": "^\\s*(public|private|protect)\\s(subroutine|function).+;|^\\s*event\\s.+;", + "end": "^\\s*end (subroutine|function|event)\\b" + } + } +}