Skip to content

Folding issue with nested rules on same line #49

@zanona

Description

@zanona

Apparently having the following rule structure, causes the code folding to break.

ul {
    li { display: block; padding: .5em; a { color: red; } } 
    h4 { color: red; }
} 

folded looks like:

+ul {...li { display: block; padding: .5em; a { color: red; } }                                    
    h4 { color: red; }
} 

the only way to grant the code-folding will be correct is to split nested rules into different lines such as:

ul {
    li { display: block; padding: .5em;
        a { color: red; }
    } 
    h4 { color: red; }
} 

which properly folds to

+ul {...} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions