akalongman / akalongman/sublimetext-codeformatter

SCSS nested indenting buggy after commit #290

Open
#293 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Since commit #290 the closing brackets and subsequent rules in a nest have less indentation than there should be depending on their nested depth. With indenting set to 4 spaces:

**Expected**

.test {
margin: 0;
.nest1 {
margin: 0;
.nest2 {
margin: 0;
.nest3 {
margin: 0;
.nest4 {
margin: 0;
}
}

.test1 {
margin: 0;
}
}
}
}

**Actual**

.test {
margin: 0;
.nest1 {
margin: 0;
.nest2 {
margin: 0;
.nest3 {
margin: 0;
.nest4 {
margin: 0;
}
}

.test1 {
margin: 0;
}
}
}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.