aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-10-11 08:31:06 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-10-11 08:59:37 +0200
commit79c036747a6cde1e38adcd19ed89b9295b2af1e3 (patch)
treeb859dc59c4810e5183efec84869ca2ec8abe572c /runtime/lua
parenta0e3fe57417f0b7c8de60dcebe44d0cf034c4b9a (diff)
downloadrneovim-79c036747a6cde1e38adcd19ed89b9295b2af1e3.tar.gz
rneovim-79c036747a6cde1e38adcd19ed89b9295b2af1e3.tar.bz2
rneovim-79c036747a6cde1e38adcd19ed89b9295b2af1e3.zip
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 https://github.com/vim/vim/commit/e58e9015cc431b79d88af4daec838519a8e296d6 Co-authored-by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 3d3b2a2ea1..445281deca 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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'),