emmet-vim icon indicating copy to clipboard operation
emmet-vim copied to clipboard

To expand abbreviation with script

Open yufeiluo opened this issue 7 years ago • 1 comments

The lines containing script and script:src in my snippets.json are as below.

	script": "<script  type=\"text/javascript\"  src=\"\">",
	"script:src": "<script src=\"\">",

Configuration in my .vimrc

let g:emmet_html5 = 0

Why script was expanded as <script type="text/javascript"></script>

not as <script type="text/javascript" src=""></script> ?

Is the way to expand script as <script type="text/javascript" src=""></script> ?

yufeiluo avatar Jun 12 '17 08:06 yufeiluo

please use script:src instead.

mattn avatar Jun 23 '17 08:06 mattn