summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-04-25 22:15:02 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-04-25 22:15:02 +0200
commit6a15d48ed4bf74f7d969032ea432d2815d38ea78 (patch)
tree6337b7f7189e536ab7f9100ab03a5e01341e38aa /ftdetect
parent24f0581a96e682ef108c5b417b26563f4df022f5 (diff)
downloadvim-polyglot-4.3.0.tar.gz
vim-polyglot-4.3.0.zip
Add brewfile support, closes #469v4.3.0
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim11
1 files changed, 11 insertions, 0 deletions
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 <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