d4rkr00t / language-stylus

Stylus language support for Visual Studio Code
MIT License
44 stars 12 forks source link

Incorrect closing brace indentation on newline #67

Open maranomynet opened 5 years ago

maranomynet commented 5 years ago

For most selectors* when you insert curly-braces and hit ENTER, the closing brace does not land on its own newline below the cursor. (See image)

The extra keystrokes needed to push the closing brace to its place, slowly drive anyone insane....

screen shot 2018-09-19 at 15 46 16

*) Note this does not happen when your selector starts with a plain element - like div > .foo - then the closing brace lands on its own newline. Weird.

devmattrick commented 5 years ago

I'm also having this same issue. Would you be interested in a pull request? Would be great to get fixed!