What is the best way to make vim highlight ejs (http://embeddedjs.com/) files? Is it possible to set up html highlight for the file in general and javascript highlight to it's parts inside <% %>? Appreciate your help!
Credits goes to @inkedmn just wanted to point out that html binding works way better, therefore put this in your ~/.vimrc file:
au BufNewFile,BufRead *.ejs set filetype=html
2.1m questions
2.1m answers
60 comments
57.0k users