Open hwypengsir opened 6 years ago
My .vimrc setting on snippest.json.
let g:user_emmet_settings = webapi#json#decode(join(readfile(expand('~/.vim/snippets.json')), "\n")) let g:emmet_html5 = 1
The ani abbreviation setting in my .vim/snippets.json.
ani
.vim/snippets.json
"ani": "animation:|;",
The ani in css file can expand as animation,snippets.json can take effect. I expect html:5 expand as following:
animation
html:5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" href=""> </head> <body> </body> </html>
Revise doc defination in my snippets.json as below:
"doc": "html>(head>(meta[charset=${charset}]+title+link))+body",
Why html:5 still expand as below?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title></title> </head> <body> </body> </html>
Why abbreviation setting for html:5 in snippets.json can't take effect ?
My .vimrc setting on snippest.json.
The
ani
abbreviation setting in my.vim/snippets.json
.The
ani
in css file can expand asanimation
,snippets.json can take effect.I expect
html:5
expand as following:Revise doc defination in my snippets.json as below:
Why
html:5
still expand as below?Why abbreviation setting for
html:5
in snippets.json can't take effect ?