antonj / scss-mode

Emacs mode for SCSS files (http://sass-lang.com)
200 stars 39 forks source link

Nested indentation bug when using interpolated variables #32

Open achisholm opened 9 years ago

achisholm commented 9 years ago

An example of current indentation behaviour...

.class-name {
    // comment
    @media #{$small} {
    display:inline;
}
}

Desired indentation...

.class-name {
    // comment
    @media #{$small} {
        display:inline;
    }
}

\ Edit - I've updated the example. Seems it only happens when I use a set of {} like the above example.