Add brewfile support, closes #469

This commit is contained in:
Adam Stankiewicz
2020-04-25 22:15:02 +02:00
parent 24f0581a96
commit 6a15d48ed4
4 changed files with 37 additions and 1 deletions

View File

@@ -206,6 +206,17 @@ autocmd BufNewFile,BufRead *.blade.php set filetype=blade
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'brewfile') == -1
augroup filetypedetect
" brewfile, from brewfile.vim in bfontaine/Brewfile.vim
" Vim filetype plugin
" Language: Brewfile
" Mantainer: Baptiste Fontaine <b@ptistefontaine.fr>
" URL: https://github.com/bfontaine/Brewfile.vim
au BufNewFile,BufRead Brewfile,.Brewfile set filetype=ruby syntax=brewfile
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1
augroup filetypedetect
" caddyfile, from caddyfile.vim in isobit/vim-caddyfile