From 832dfece7629ac1a6f4894e956802b456ae791ea Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 4 Sep 2019 16:06:18 +0200 Subject: Add dhall, closes #426 --- ftdetect/polyglot.vim | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 61b9baba..af4d6941 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -289,6 +289,15 @@ autocmd BufRead,BufNewFile *.dart set filetype=dart augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dhall') == -1 + augroup filetypedetect + " dhall, from dhall.vim in vmchale/dhall-vim +augroup dhall + autocmd BufNewFile,BufRead *.dhall set filetype=dhall +augroup END + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 augroup filetypedetect " dlang, from d.vim in JesseKPhillips/d.vim -- cgit v1.2.3