aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-28 13:51:36 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-10-28 13:57:08 +0100
commitdae1213e57da36aaa805425636d11712c746fe49 (patch)
tree74046abf006f00abd62579a97818747aeeaeab2e /runtime/filetype.vim
parentb9a6df58cc7674153728605f48029c4c7bbe1a84 (diff)
downloadrneovim-dae1213e57da36aaa805425636d11712c746fe49.tar.gz
rneovim-dae1213e57da36aaa805425636d11712c746fe49.tar.bz2
rneovim-dae1213e57da36aaa805425636d11712c746fe49.zip
vim-patch:f0b03c4e98f8
Update runtime files https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923 Note: haskell changes were included in 942f3587c38a83cf6486a0b779765b54a1648493
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index deab1f0f58..bb8d210539 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1924,6 +1924,9 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
" Most of these should call s:StarSetf() to avoid names ending in .gz and the
" like are used.
+" More Apache style config files
+au BufNewFile,BufRead */etc/proftpd/*.conf*,*/etc/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')