akalongman / akalongman/sublimetext-codeformatter

SCSS nested indenting buggy after commit #290

未关闭
#293 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
772
派生
128
PR 合并指标
30 天内没有已合并 PR

描述

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;
}
}
}
}

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。