Vim: Adding file extension to a filetype of syntax highlighting
"Add this line to syntax highlight any rhtml (rails view, ERb) to be displayed with HTML syntax highlighting
autocmd BufRead *.rhtml set filetype=html
Now I have to figure out how to load the matchit plugin that enables auto-complete for HTML tags
autocmd BufRead *.rhtml set filetype=html
Now I have to figure out how to load the matchit plugin that enables auto-complete for HTML tags
1 Comments:
Thanks a lot.
It was a long time I was looking for this.
Post a Comment
<< Home