JadedEvan
5/25/2011 - 8:11 PM

Uses HTML syntax highlighting for .erubis files in Vim

Uses HTML syntax highlighting for .erubis files in Vim

# All of this is copied from the Vim documents 
# <http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype>
#
# 1. Create your runtime directory
# > mkdir ~/.vim
#
# 2. Create the ~/.vim/filetype.vim file with the following contents

" my filetype file
if exists("did_load_filetypes")
    finish
endif
augroup filetypedetect
    au! BufRead,BufNewFile *.erubis		setfiletype html
augroup END