mutian / Sublime-CSS-Format

CSS Formatting for Sublime Text
http://mutian.github.io/Sublime-CSS-Format/
MIT License
98 stars 27 forks source link

calc() does not need to line break #31

Open raduchiriac opened 9 years ago

raduchiriac commented 9 years ago

Is there a way I can ignore calc() when formatting?

The very natural:

calc(#{$content-width} - (#{$spacing-unit} * 2));

transforms into:

calc(# {
    $content-width
  }
  - (# {
    $spacing-unit
  }
  * 2));