mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.41k stars 410 forks source link

how to make emmet-vim working on multiple filetype #491

Open kopimaniz opened 4 years ago

kopimaniz commented 4 years ago

emmet-vim not working on multiple file type, for example :set filetype=php.html

FahimAnayet commented 3 years ago

I've used autocmd FileType html,css,blade,php,javascript,js,xml,php.css.html EmmetInstall in my vimrc. it works for my php file with php.css.html file type.

Or don't use these two line.

let g:user_emmet_install_global = 0
autocmd FileType html,css EmmetInstall

Or can use this line: let g:user_emmet_install_global = 1