/etc/yum.conf and /etc/yum.repos.d/* are widely used, and their conf
files are dosini format. So we should set their filetype to dosini in
filetype.vim.
Regards,
Hong Xu
07/19/2011
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 39cb812cf477 runtime/filetype.vim
--- a/runtime/filetype.vim Fri Jul 15 21:24:12 2011 +0200
+++ b/runtime/filetype.vim Tue Jul 19 22:04:06 2011 +0800
@@ -2510,6 +2510,10 @@
" Xinetd conf
au BufNewFile,BufRead */etc/xinetd.d/* call s:StarSetf('xinetd')
+" yum conf
+au BufNewFile,BufRead */etc/yum.conf setf dosini
+au BufNewFile,BufRead */etc/yum.repos.d/* setf dosini
+
" Z-Shell script
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')