summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorZdenek Dohnal <zdohnal@redhat.com>2021-09-20 20:57:31 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-20 20:57:31 +0200
commit770ddbe1595f6dab836304203d5ca2e0b069266f (patch)
tree2663c6e0c0bc19727555c7eebc7aeaff28a70b5f /runtime
parent18fefddcb023db3c8461953892650b0c5f0cc9fe (diff)
patch 8.2.3451: not all apache files are recognizedv8.2.3451
Problem: Not all apache files are recognized. Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index d0d40539d2..39a7727401 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2138,7 +2138,7 @@ au BufNewFile,BufRead 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')
+au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.*/*,*/etc/httpd/mods-*/*,*/etc/httpd/sites-*/*,*/etc/httpd/conf.d/*.conf* call s:StarSetf('apache')
" Asterisk config file
au BufNewFile,BufRead *asterisk/*.conf* call s:StarSetf('asterisk')