dotfiles/vim/filetype.vim

13 lines
424 B
VimL
Raw Permalink Normal View History

2023-04-29 16:36:57 +02:00
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