I've noticed a few issues when I've been working on apache config files lately. It seems the path it uses to say "hey, this is an apache config file" isn't working for a few directories. I added this to my vimrc file and it seems to work fine: au! BufRead,BufNewFile /etc/apache2/conf/*/* set filetype=apache The problem is, our apache maintainers/apache authors have moved where some of the config files are for apache2 so that may mess up how you have it setup.
Hrm, filetype.vim uses this currently: " Apache config file au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,.htaccess,apache.conf* setf apache I'll add in an extra ftdetect file in the next vim-core release.
I generally create other .conf files in /etc/apache2/conf/vhosts/ plus, there's modular config files in /etc/apache2/conf/modules.d/. Thanks for updating that!
Done, 6.3-r4.