Last active
December 27, 2015 19:19
-
-
Save aarongray/7376335 to your computer and use it in GitHub Desktop.
Convert Sass stylesheets from the old colon syntax (colons in front of selector) to the new syntax (colons behind the selector), because it looks more like English. http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:%s/\v(\s+)(\&:)@!:(\w*-*\w*)/\1\3:/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment