From d4647629b22f99b2ff7723446ae3644f08bce8bc Mon Sep 17 00:00:00 2001 From: Dennis Coldwell Date: Tue, 27 Jan 2015 10:09:30 -0800 Subject: [PATCH] enhancing link:import abbreviation - matching implementation to emmet.io reference - https://github.com/emmetio/emmet/blob/master/lib/snippets.json#L670 --- autoload/emmet.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/emmet.vim b/autoload/emmet.vim index bbc6027..cb386f1 100644 --- a/autoload/emmet.vim +++ b/autoload/emmet.vim @@ -1637,7 +1637,8 @@ let s:emmet_settings = { \ 'ins': {'datetime': '${datetime}'}, \ 'link:css': [{'rel': 'stylesheet'}, g:emmet_html5 ? {} : {'type': 'text/css'}, {'href': '|style.css'}, {'media': 'all'}], \ 'link:print': [{'rel': 'stylesheet'}, g:emmet_html5 ? {} : {'type': 'text/css'}, {'href': '|print.css'}, {'media': 'print'}], -\ 'link:import': [{'rel': 'import'}, {'href': ''}], +\ 'link:import': [{'rel': 'import'}, {'href': '|.html'}], +\ 'link:im': [{'rel': 'import'}, {'href': '|.html'}], \ 'link:favicon': [{'rel': 'shortcut icon'}, {'type': 'image/x-icon'}, {'href': '|favicon.ico'}], \ 'link:touch': [{'rel': 'apple-touch-icon'}, {'href': '|favicon.png'}], \ 'link:rss': [{'rel': 'alternate'}, {'type': 'application/rss+xml'}, {'title': 'RSS'}, {'href': '|rss.xml'}],