diff options
Diffstat (limited to 'ftdetect')
| -rw-r--r-- | ftdetect/polyglot.vim | 4 | 
1 files changed, 4 insertions, 0 deletions
| 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 | 
