Open aldanor opened 7 years ago
I use this
au FileType html,gohtmltmpl imap <expr> <tab> emmet#expandAbbrIntelligent("\<tab>")
It works fine for me
Have same issue, after manual setup when I've opened buffer works. However solution above does not help. My configuration:
let g:user_emmet_install_global = 0
autocmd FileType html,djangohtml EmmetInstall |
" Use natural way to expand emmet expressions
\ imap <expr> <tab> emmet#expandAbbrIntelligent("\<tab>")
If I do this:
-- it doesn't change anything, things still do expand with
<C-y>,
though. I can confirm that the filetype of the buffer is indeed "html" and that autocmd commands do generally execute.If, however, I manually do
from command line of the html buffer, it starts expanding in insert mode with TAB, as expected.
Is there any catch? Would appreciate any help, thanks.