Created
October 21, 2019 19:26
-
-
Save nicothin/08fb8ab481b6c09821c50ae7a553e25d to your computer and use it in GitHub Desktop.
This file contains 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
Show hidden characters
{ | |
// Custom snippets definitions | |
"snippets": { | |
"html": { | |
"filters": "html, bem", | |
"snippets": { | |
"blq": "<blockquote>${1:}</blockquote>", | |
} | |
}, | |
"pug": { | |
"filters": "bem, jade" | |
}, | |
"css": { | |
"snippets": { | |
"poen": "pointer-events: none;", | |
"obj": "object-fit: cover;", | |
"bgra": "background-color: rgba(${1:0,0,0,.5});", | |
"var": "var(--${var_name})", | |
"_bn": "#{\\$block-name}", | |
"df": "display: flex;", | |
"dif": "display: inline-flex;", | |
"if": "display: inline-flex;", | |
"@mx": "@mixin ${name}()", | |
"@in": "@include ${name};", | |
"@m": "@media (min-width: \\$${screen-md}) {}", | |
} | |
} | |
}, | |
// Emmet preferences | |
// http://docs.emmet.io/customization/preferences/ | |
"preferences": { | |
"bem.elementSeparator": "__", | |
"bem.modifierSeparator": "--", | |
"bem.shortElementPrefix": "_", | |
"css.autoInsertVendorPrefixes": "false", | |
"lorem.defaultLang": "ru", | |
"sass.propertyEnd": ";", | |
}, | |
// Output profiles for syntaxes | |
// http://docs.emmet.io/customization/syntax-profiles/ | |
"syntaxProfiles": { | |
"hbs": "html", | |
"jsx": "xhtml" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment