akalongman / akalongman/sublimetext-codeformatter

SCSS nested indenting buggy after commit #290

Đang mở
#293 1 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
772
Fork
128
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.