vim-patch:9.1.0773: filetype: some Apache files are not recognized

Problem:  filetype: some Apache files are not recognized
Solution: Detect more config files from the Apache source
          distribution as filetype apache (nisbet-hubbard)

closes: vim/vim#15810

e58e9015cc

Co-authored-by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>
This commit is contained in:
Christian Clason
2024-10-11 08:31:06 +02:00
parent a0e3fe5741
commit 79c036747a
2 changed files with 13 additions and 2 deletions

View File

@@ -2185,6 +2185,8 @@ local pattern = {
['^apache%.conf'] = detect_apache_dotconf,
['^apache2%.conf'] = detect_apache_dotconf,
['^httpd%.conf'] = detect_apache_dotconf,
['^httpd%-.*%.conf'] = detect_apache_dotconf,
['^proxy%-html%.conf'] = detect_apache_dotconf,
['^srm%.conf'] = detect_apache_dotconf,
['asterisk/.*%.conf'] = starsetf('asterisk'),
['asterisk.*/.*voicemail%.conf'] = starsetf('asteriskvm'),