Skip to content

Fold command #189

@folofjc

Description

@folofjc

The documentation is clear that folding commands is difficult due to the unfinished curly braces problem. It states that if there is another command with curly braces on the same line that starts a command, then it will not be folded. However, what is not stated is that in the case where there is a command within the fold, the fold will stop at the first } that it sees. So the folding of commands only works if there are no other curly braces anywhere within the command. (As a work around, I am using the fold markers <<< and >>> to fold commands; This is why I noticed #188).

I understand that it is a tough bug to solve, so maybe the only solution is to update the docs with this additional caveat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions