-
Notifications
You must be signed in to change notification settings - Fork 60
Whitespace doesn't get removed for .slim files #123
Comments
➕1️⃣ I have this issue as well as everyone else in my company. Our slim templates are filled with random whitespace. Is there any config settings to force this in the meantime? The following does not work: ".slim":
whitespace:
removeTrailingWhitespace: true |
If that is not working for some one, I had it working for me using: ".slim.text":
editor:
preferredLineLength: 120
softWrapHangingIndent: 2
whitespace:
ignoreWhitespaceOnCurrentLine: false
ignoreWhitespaceOnlyLines: false
removeTrailingWhitespace: true and be sure to have it added to the end of the config file. It didn't work for me when it was somewhere in between. Also, feel free to ignore the extra configuration values :D |
@codebryo tried your snippet. No luck 😭 |
Snippet didn't work for me either. If a maintainer can point me in the right direction, I can work on a PR for this. |
I'm surprised this isn't working. There's even an example for it in the README. Can someone copy/paste the output of |
I have several slim files and whitespace doesn't get removed upon saving.
The text was updated successfully, but these errors were encountered: