Skip to content

Instantly share code, notes, and snippets.

@nicothin
Created October 21, 2019 19:26
Show Gist options
  • Save nicothin/08fb8ab481b6c09821c50ae7a553e25d to your computer and use it in GitHub Desktop.
Save nicothin/08fb8ab481b6c09821c50ae7a553e25d to your computer and use it in GitHub Desktop.
{
// 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