summaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-17 17:17:07 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-17 17:17:07 +0100
commitf0b03c4e98f8a7184d8b4a5d702cbcd602426923 (patch)
tree2ef116f952de9f85631e5a1ca6a1b617e65a9d7d /runtime/filetype.vim
parent8ee2d36e216756e712a3a9122ce1e1203378a9c8 (diff)
downloadvim-git-f0b03c4e98f8a7184d8b4a5d702cbcd602426923.tar.gz
Update runtime files
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 67ea87643..2f283a707 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1925,6 +1925,9 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
" Most of these should call s:StarSetf() to avoid names ending in .gz and the
" like are used.
+" More Apache style config files
+au BufNewFile,BufRead */etc/proftpd/*.conf*,*/etc/proftpd/conf.*/* call s:StarSetf('apachestyle')
+
" More Apache config files
au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf* call s:StarSetf('apache')
au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.d/*.conf* call s:StarSetf('apache')