Enable omnicompletion:
const g:user_emmet_complete_tag = v:true
Don’t create global maps:
const g:user_emmet_install_global = v:false
Override locale:
let g:user_emmet_settings = #{ \ variables: #{ \ locale: substitute(v:lang, '\(.*\)_\([^\.]*\)\(\..*\)\?', \ '\1-\2', '') \ }, \ }
let g:user_emmet_settings.htmljinja = #{extends: 'html'}
Enable automatically where it will be useful:
if has('autocmd') augroup jnrowe_emmet autocmd! autocmd FileType css,html,xml,xslt EmmetInstall augroup END endif