From b2d556d384e13d3180013ef8161936a4c3b990cd Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 6 Nov 2013 23:55:01 +0100 Subject: Update latex, ruby and mason --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 03efb46e..457fd19a 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -81,6 +81,10 @@ autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn \ else | \ setf markdown | \ endif +autocmd BufRead *.html + \ if getline(1) =~ '^\(%\|<[%&].*>\)' | + \ set filetype=mason | + \ endif au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/*,*/nginx/vhosts.d/*,nginx.conf if &ft == '' | setfiletype nginx | endif autocmd BufNewFile,BufRead *.proto setfiletype proto au BufRead,BufNewFile *.pp set filetype=puppet -- cgit v1.2.3