diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2017-03-23 11:43:41 +0100 |
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-03-23 11:43:41 +0100 |
| commit | 461de4cc216cac858ccc4f2dd99644e6ea43589d (patch) | |
| tree | 4ea2373904a594c143b029d279218f9650b6833c /ftdetect | |
| parent | ba758909360bbd037cea06fd4e4eec8da7bf8751 (diff) | |
| download | vim-polyglot-461de4cc216cac858ccc4f2dd99644e6ea43589d.tar.gz vim-polyglot-461de4cc216cac858ccc4f2dd99644e6ea43589d.zip | |
Add caddyfile support, closes #195
Diffstat (limited to '')
| -rw-r--r-- | ftdetect/polyglot.vim | 7 |
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 |
