-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Labels
Milestone
Description
VSCode allows an extension to declare folding rules within language-configuration.json:
https://code.visualstudio.com/api/language-extensions/language-configuration-guide#folding
However, it's fairly rigid -- each foldable region must have separate (and uniquely-matched) start and end boundaries. However, we'd likely want to support foldable sections -- for example:
# Section 1 ----
## Section 1.1 ----
## Section 1.2 ----
For that reason, we'll probably need to implement folding rules in the LSP (unless we want to patch the VSCode behavior here)
hfrick, kv9898 and anbrav0