aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorflyingleafe <flyingleafe@gmail.com>2014-08-11 20:37:52 +0600
committerflyingleafe <flyingleafe@gmail.com>2014-08-11 20:37:52 +0600
commit3e945d2e84abaa54de53b571b7831c0892d09854 (patch)
tree0d159a8e808a7a349d5fce614726feee154546bc /conf
parentae88e6ce954fa6e0fe7cfc31d7aa7977e0c579af (diff)
downloademmet-mode-3e945d2e84abaa54de53b571b7831c0892d09854.tar.lz
emmet-mode-3e945d2e84abaa54de53b571b7831c0892d09854.tar.xz
emmet-mode-3e945d2e84abaa54de53b571b7831c0892d09854.zip
Add support for Sass: Removing trailing semicolon; ability to define
Sass-specific snippets
Diffstat (limited to 'conf')
-rw-r--r--conf/snippets.json17
1 files changed, 14 insertions, 3 deletions
diff --git a/conf/snippets.json b/conf/snippets.json
index d1e5ae6..678707f 100644
--- a/conf/snippets.json
+++ b/conf/snippets.json
@@ -582,6 +582,17 @@
"wfsm:n": "-webkit-font-smoothing:none;"
}
},
+
+ "sass": {
+ "snippets": {
+ "@m": "@media ${1:screen}\n\t|\n",
+ "@media": "@media ${1:screen}\n\t|\n",
+ "@f": "@font-face\n\tfont-family:|\n\tsrc:url(|)\n",
+ "@f+": "@font-face\n\tfont-family: '${1:FontName}'\n\tsrc: url('${2:FileName}.eot')\n\tsrc: url('${2:FileName}.eot?#iefix') format('embedded-opentype'), url('${2:FileName}.woff') format('woff'), url('${2:FileName}.ttf') format('truetype'), url('${2:FileName}.svg#${1:FontName}') format('svg')\n\tfont-style: ${3:normal}\n\tfont-weight: ${4:normal}\n",
+
+ "@kf": "@-webkit-keyframes ${1:identifier}\n\t${2:from}\n\t\t${3}${6}\n\t${4:to}\n\t\t${5}\n\n@-o-keyframes ${1:identifier}\n\t${2:from}\n\t\t${3}${6}\n\t${4:to}\n\t\t${5}\n\n@-moz-keyframes ${1:identifier}\n\t${2:from}\n\t\t${3}${6}\n\t${4:to}\n\t\t${5}\n\n@keyframes ${1:identifier}\n\t${2:from}\n\t\t${3}${6}\n\t${4:to}\n\t\t${5}\n"
+ }
+ },
"html": {
@@ -608,8 +619,8 @@
"link:touch": "link rel=apple-touch-icon href=favicon.png",
"link:rss": "link rel=alternate type=application/rss+xml title=RSS href=rss.xml",
"link:atom": "link rel=alternate type=\"application/atom+xml\" title=Atom href=atom.xml",
- "meta:utf": "meta http-equiv=Content-Type content=\"text/html;charset=UTF-8\"",
- "meta:win": "meta http-equiv=Content-Type content=\"text/html;charset=windows-1251\"",
+ "meta:utf": "meta http-equiv=Content-Type content=\"text/htmlcharset=UTF-8\"",
+ "meta:win": "meta http-equiv=Content-Type content=\"text/htmlcharset=windows-1251\"",
"meta:vp": "meta name=viewport content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\"",
"meta:compat": "meta http-equiv=X-UA-Compatible content=\"IE=edge,chrome=1\"",
"script:src": "script src",
@@ -691,7 +702,7 @@
"det": "details",
"cmd": "command",
"doc": "html>(head>meta charset=UTF-8+title{Document})+body",
- "doc4": "html>(head>meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\"+title{Document})",
+ "doc4": "html>(head>meta http-equiv=\"Content-Type\" content=\"text/htmlcharset=UTF-8\"+title{Document})",
"!": "html:5",
"html:4t": "!!!4t+doc4 lang=en",