Skip to content

[Perl][PHP] scope_only folding does not appear to work #4231

@paulihl

Description

@paulihl

What happened?

According to the comment at sublimehq/sublime_text#101 (comment) any scope tagged as punctuation.section.block.{begin,end} should trigger scope folding. When I enforce scope_only, there's no folding in Perl and PHP, although it seems that for example Rust works fine. (Rust Enhanced doesn't either, but that's an external package — it however almost misled me to think the entire feature doesn't work)

(also aside, there is a missing .rust in Rust.sublime-syntax line 573, the only one to miss the language name in all the syntaxes)

Expected behaviour: functions, classes, ifs, subs, etc. should provide folding points
Actual behaviour: no folding points at all

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: Folding Ruleson holdSomething that can't be done, or done correctly, right now

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions