From 5db2c29f1438ba3eac09a55877d3810b4ff52037 Mon Sep 17 00:00:00 2001 From: Bobby Lee Date: Tue, 27 Dec 2016 12:35:08 +1300 Subject: [PATCH] Updated CSS snippet section with the latest settings from emmetio/emmet (flexbox) --- autoload/emmet.vim | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/autoload/emmet.vim b/autoload/emmet.vim index a37fa0d..af482cc 100644 --- a/autoload/emmet.vim +++ b/autoload/emmet.vim @@ -1068,6 +1068,7 @@ let s:emmet_settings = { \ "d:n": "display:none;", \ "d:b": "display:block;", \ "d:f": "display:flex;", +\ "d:if": "display:inline-flex;", \ "d:i": "display:inline;", \ "d:ib": "display:inline-block;", \ "d:ib+": "display: inline-block;\n*display: inline;\n*zoom: 1;", @@ -1572,6 +1573,47 @@ let s:emmet_settings = { \ "cur:m": "cursor:move;", \ "cur:p": "cursor:pointer;", \ "cur:t": "cursor:text;", +\ "fxd": "flex-direction:|;", +\ "fxd:r": "flex-direction:row;", +\ "fxd:rr": "flex-direction:row-reverse;", +\ "fxd:c": "flex-direction:column;", +\ "fxd:cr": "flex-direction:column-reverse;", +\ "fxw": "flex-wrap: |;", +\ "fxw:n": "flex-wrap:nowrap;", +\ "fxw:w": "flex-wrap:wrap;", +\ "fxw:wr": "flex-wrap:wrap-reverse;", +\ "fxf": "flex-flow:|;", +\ "jc": "justify-content:|;", +\ "jc:fs": "justify-content:flex-start;", +\ "jc:fe": "justify-content:flex-end;", +\ "jc:c": "justify-content:center;", +\ "jc:sb": "justify-content:space-between;", +\ "jc:sa": "justify-content:space-around;", +\ "ai": "align-items:|;", +\ "ai:fs": "align-items:flex-start;", +\ "ai:fe": "align-items:flex-end;", +\ "ai:c": "align-items:center;", +\ "ai:b": "align-items:baseline;", +\ "ai:s": "align-items:stretch;", +\ "ac": "align-content:|;", +\ "ac:fs": "align-content:flex-start;", +\ "ac:fe": "align-content:flex-end;", +\ "ac:c": "align-content:center;", +\ "ac:sb": "align-content:space-between;", +\ "ac:sa": "align-content:space-around;", +\ "ac:s": "align-content:stretch;", +\ "ord": "order:|;", +\ "fxg": "flex-grow:|;", +\ "fxsh": "flex-shrink:|;", +\ "fxb": "flex-basis:|;", +\ "fx": "flex:|;", +\ "as": "align-self:|;", +\ "as:a": "align-self:auto;", +\ "as:fs": "align-self:flex-start;", +\ "as:fe": "align-self:flex-end;", +\ "as:c": "align-self:center;", +\ "as:b": "align-self:baseline;", +\ "as:s": "align-self:stretch;", \ "pgbb": "page-break-before:|;", \ "pgbb:au": "page-break-before:auto;", \ "pgbb:al": "page-break-before:always;",