Mercurial > vim
comparison runtime/filetype.vim @ 25832:be15ebb4098c v8.2.3451
patch 8.2.3451: not all apache files are recognized
Commit: https://github.com/vim/vim/commit/770ddbe1595f6dab836304203d5ca2e0b069266f
Author: Zdenek Dohnal <zdohnal@redhat.com>
Date: Mon Sep 20 20:57:31 2021 +0200
patch 8.2.3451: not all apache files are recognized
Problem: Not all apache files are recognized.
Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes https://github.com/vim/vim/issues/8882)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Sep 2021 21:00:07 +0200 |
parents | 11b656e74444 |
children | a89664a64d62 |
comparison
equal
deleted
inserted
replaced
25831:4e2331a8b08a | 25832:be15ebb4098c |
---|---|
2136 au BufNewFile,BufRead */etc/proftpd/*.conf*,*/etc/proftpd/conf.*/* call s:StarSetf('apachestyle') | 2136 au BufNewFile,BufRead */etc/proftpd/*.conf*,*/etc/proftpd/conf.*/* call s:StarSetf('apachestyle') |
2137 au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle') | 2137 au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle') |
2138 | 2138 |
2139 " More Apache config files | 2139 " More Apache config files |
2140 au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf* call s:StarSetf('apache') | 2140 au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf* call s:StarSetf('apache') |
2141 au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.d/*.conf* call s:StarSetf('apache') | 2141 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') |
2142 | 2142 |
2143 " Asterisk config file | 2143 " Asterisk config file |
2144 au BufNewFile,BufRead *asterisk/*.conf* call s:StarSetf('asterisk') | 2144 au BufNewFile,BufRead *asterisk/*.conf* call s:StarSetf('asterisk') |
2145 au BufNewFile,BufRead *asterisk*/*voicemail.conf* call s:StarSetf('asteriskvm') | 2145 au BufNewFile,BufRead *asterisk*/*voicemail.conf* call s:StarSetf('asteriskvm') |
2146 | 2146 |