dotfiles/vim/filetype.vim

13 lines
424 B
VimL

if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.md set filetype=markdown
au! BufRead,BufNewFile *.markdown set filetype=markdown
au! BufRead,BufNewFile *.kd set filetype=markdown
au! BufRead,BufNewFile *.gp set filetype=gnuplot
au! BufRead,BufNewFile *.html.erb set filetype=eruby.html
au! BufRead,BufNewFile *.feature set sw=2 sts=2 filetype=cucumber
augroup END