summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-03-23 11:43:41 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-03-23 11:43:41 +0100
commit461de4cc216cac858ccc4f2dd99644e6ea43589d (patch)
tree4ea2373904a594c143b029d279218f9650b6833c /ftdetect
parentba758909360bbd037cea06fd4e4eec8da7bf8751 (diff)
downloadvim-polyglot-461de4cc216cac858ccc4f2dd99644e6ea43589d.tar.gz
vim-polyglot-461de4cc216cac858ccc4f2dd99644e6ea43589d.zip
Add caddyfile support, closes #195
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 57255ac5..a80ec608 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -47,6 +47,13 @@ autocmd BufNewFile,BufRead *.blade.php set filetype=blade
endif
+" ftdetect/caddyfile.vim
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1
+
+au BufNewFile,BufRead Caddyfile set ft=caddyfile
+
+endif
+
" ftdetect/cjsx.vim
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cjsx') == -1