From 6a15d48ed4bf74f7d969032ea432d2815d38ea78 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 25 Apr 2020 22:15:02 +0200 Subject: Add brewfile support, closes #469 --- ftdetect/polyglot.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 54d71378..0b3754a1 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -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 +" 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 -- cgit v1.2.3