juvenn / mustache.vim

Vim mode for mustache and handlebars (Deprecated)
github.com/mustache/vim-mode
125 stars 14 forks source link

Highlighting html #16

Open mgruesbeck opened 10 years ago

mgruesbeck commented 10 years ago

Awesome work guys. I am fairly new to vim and just wanted to share my install experience. At first I couldn't figure out why the plugin wasn't highlighting html. Then I found the script to set html syntax.

au BufNewFile,BufRead .mustache,.handlebars,.hbs,.hogan,.hulk,.hjs set filetype=html syntax=mustache | runtime! ftplugin/mustache.vim ftplugin/mustache.vim ftplugin/mustache/.vim

Maybe this could be added to the docs for beginners like me? :)

bruno- commented 10 years ago

Hi @mgruesbeck, this plugin is migrated to vim-mustache-handlebars.

No setup should be required whatsoever in order for the plugin to work. The line you pasted above should not be required. Can you please check if you have issues with vim-mustache-handlebars plugin? (after the autocommand you pasted above is deleted) If yes, please open an issue in the other project and we'll try to help.

mgruesbeck commented 10 years ago

Hi @bruno-,

Sorry for the delay. Yeah, I removed the command from vimrc and highlighting quit working. I'm pretty happy with it just working. But if you guys want to collect more information on this I'll be happy to provide it.