Here is my way to customize it.
vim .vim/snippets.json
"link": "<link type=\"text/css\" rel=\"stylesheet\" href=\"\" />",
"link:css": "<link type=\"text/css\" rel=\"stylesheet\" href=\"${1:style}.css\" />",
and edit .vimrc
let g:emmet_html5 = 0
let g:user_emmet_settings = webapi#json#decode(join(readfile(expand('~/.vim/snippets.json')), "\n"))
I found that in my vim-emmet:
link was expanded as
I expect to epxpand link into
and expect to epxpand link:css into .
Here is my way to customize it. vim .vim/snippets.json "link": "<link type=\"text/css\" rel=\"stylesheet\" href=\"\" />", "link:css": "<link type=\"text/css\" rel=\"stylesheet\" href=\"${1:style}.css\" />", and edit .vimrc let g:emmet_html5 = 0 let g:user_emmet_settings = webapi#json#decode(join(readfile(expand('~/.vim/snippets.json')), "\n"))
I found that in my vim-emmet: link was expanded as
link:css was expanded as
Why link was not expanded as
and link:css was not expanded as .?