summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-05-07 16:17:30 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-05-07 16:17:56 +0200
commitaebef2c2e76b88384b1121c237c965e8cf8b3bcb (patch)
tree98c685630547630cfadffb487a0cf90b7abbb710 /ftdetect
parente8245dbf1746aa59774124de1c77ffc4d8b5b52f (diff)
downloadvim-polyglot-aebef2c2e76b88384b1121c237c965e8cf8b3bcb.tar.gz
vim-polyglot-aebef2c2e76b88384b1121c237c965e8cf8b3bcb.zip
Update
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index abe0d305..d8ab62c4 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -291,8 +291,9 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') ==
augroup filetypedetect
" dockerfile, from Dockerfile.vim in ekalinin/Dockerfile.vim
" Dockerfile
-autocmd BufRead,BufNewFile Dockerfile set ft=Dockerfile
+autocmd BufRead,BufNewFile [Dd]ockerfile set ft=Dockerfile
autocmd BufRead,BufNewFile Dockerfile* set ft=Dockerfile
+autocmd BufRead,BufNewFile [Dd]ockerfile.vim set ft=vim
autocmd BufRead,BufNewFile *.dock set ft=Dockerfile
autocmd BufRead,BufNewFile *.[Dd]ockerfile set ft=Dockerfile
augroup end