Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[D] Add bracket fold rules and reenable indentation folding #3879

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

deathaxe
Copy link
Collaborator

Fixes #3878 via scope based folding and fixes #3626 via indentation folding.

Fixes sublimehq#3878

Thus commit scopes sections in brackets `meta.brackets` and adds
corresponding fold rules to enable scope based folding.

Note: Meta scopes are required to ensure subsequent brackets (e.g.: [[`)
are correctly tokenized individually.
Required to allow folding of code sections not covered by scope based folding.
FichteFoll
FichteFoll previously approved these changes Apr 30, 2024
michaelblyons
michaelblyons previously approved these changes Apr 30, 2024
@deathaxe deathaxe dismissed stale reviews from michaelblyons and FichteFoll via d913139 April 30, 2024 16:05
@deathaxe
Copy link
Collaborator Author

Sorry for the noise. Resolving conflict dismissed approvals.

@deathaxe deathaxe merged commit 8af9b40 into sublimehq:master Apr 30, 2024
2 checks passed
@deathaxe deathaxe deleted the pr/d/add-bracket-fold-rules branch April 30, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[D] Can't fold/unfold arrays [D] case statements unfoldable
4 participants