emmet-vim
emmet-vim copied to clipboard
css expansion does not seem to be working
when trying any of the examples from the doc, all shorthands are expanded into html
tags:
expected effect from :he emmet
:
<style type="text/css">
.page {
m|
}
</style>
become
<style type="text/css">
.page {
margin: |;
}
</style>
actual result:
<style type="text/css">
.page {
<m>|</m>
}
</style>
neovim 0.9.0
latest emmet with installed with Plug 'mattn/emmet-vim'
What the filetype?
for the snippet above i tried html
.
now i have explicitly tried css
and when the cursor is between curly braces it seems to work.
i think i am mainly confused because g:user_emmet_install_global
is by default true and html tags expand anywhere, in any filetype but not the css shortcuts. is this by design? if yes, maybe the documentation could be a bit more clear about it.
how can i make the css shortcuts expand in html files (for the style
attribute)?