Skip to content

Commit

Permalink
add auto-indent after selector for sass
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Nov 26, 2018
1 parent 8a0f75a commit ff4815c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Preferences/Indentation.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Indentation</string>
<key>scope</key>
<string>source.sass</string>
<key>settings</key>
<dict>
<key>increaseIndentPattern</key>
<string>((\&[\w:-]*)|([&.#%][\w:-]+\b)|(\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdi|bdo|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|content|data|datalist|dd|del|details|dfn|dir|dialog|div|dl|dt|element|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|h[1-6]|head|header|hgroup|hr|html|i|iframe|img|input|ins|isindex|kbd|keygen|label|legend|li|link|main|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|rtc|s|samp|script|section|select|shadow|small|source|span|strike|strong|style|sub|summary|sup|svg|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|tt|u|ul|var|video|wbr|xmp|circle|clipPath|defs|ellipse|filter|foreignObject|g|glyph|glyphRef|image|line|linearGradient|marker|mask|path|pattern|polygon|polyline|radialGradient|rect|stop|switch|symbol|text|textPath|tref|tspan|use)\b))(?![:,-])</string>
</dict>
</dict>
</plist>

0 comments on commit ff4815c

Please sign in to comment.