summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 16:06:18 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 16:06:18 +0200
commit832dfece7629ac1a6f4894e956802b456ae791ea (patch)
tree2165f0f8cfded20568d3022b0a19bbb25b025434 /ftdetect
parent933e42ea1f2d615c8ce5aa6daa2994e6369de3cf (diff)
downloadvim-polyglot-832dfece7629ac1a6f4894e956802b456ae791ea.tar.gz
vim-polyglot-832dfece7629ac1a6f4894e956802b456ae791ea.zip
Add dhall, closes #426
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim9
1 files changed, 9 insertions, 0 deletions
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