scss-mode icon indicating copy to clipboard operation
scss-mode copied to clipboard

Indentation of Groups

Open JP-Ellis opened this issue 11 years ago • 0 comments

Hi,

Just wanted to point out that scss-mode doesn't seem to correctly indent groups of related css properties. For example consider the following code with the correct indentation:

body {
    background: {
        image: url(images/bg.jpg);
        size: cover;
        attachment: fixed;
    }
}

Selecting it all and then applying the scss-mode indentation changes it to:

body {
    background: {
    image: url(images/bg.jpg);
    size: cover;
    attachment: fixed;
}
}

which you can see is not exactly desired.

JP-Ellis avatar Jan 09 '14 12:01 JP-Ellis