From c60fe5f786f8134fe14af29d8627d471fa611fcd Mon Sep 17 00:00:00 2001 From: Janos Wortmann Date: Tue, 3 Jun 2025 15:04:42 +0200 Subject: [PATCH] Add folding rules for docstrings and triple-quoted strings --- Fold.tmPreferences | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Fold.tmPreferences diff --git a/Fold.tmPreferences b/Fold.tmPreferences new file mode 100644 index 0000000..8b94b37 --- /dev/null +++ b/Fold.tmPreferences @@ -0,0 +1,29 @@ + + + + scope + source.julia + settings + + foldScopes + + + begin + comment.block.documentation punctuation.definition.comment.begin + end + comment.block.documentation punctuation.definition.comment.end + excludeTrailingNewlines + + + + begin + string.quoted.double.block punctuation.definition.string.begin + end + string.quoted.double.block punctuation.definition.string.end + excludeTrailingNewlines + + + + + +