Hello Bram,

again patch for filetype.vim

* messages
  Add support for logrotate's 'dateext' option.

* muttrc
  Add /etc/Muttrc.d/. To make it work it needs to move up before 'rc'.

* FIXME:
  /etc/reportbug.conf should be of type 'conf' but vim insists in using 'mail'
  instead. I haven“t figured out why though.

patch attached
-- 
bye Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F

-- 
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
--- filetype.vim.orig	2011-04-02 19:01:19.000000000 +0200
+++ filetype.vim	2011-04-08 23:51:21.000000000 +0200
@@ -1103,7 +1103,7 @@
 au BufNewFile,BufRead *.hgrc,*hgrc		setf cfg
 
 " Messages (logs mostly)
-autocmd BufNewFile,BufRead */log/{auth,cron,daemon,debug,kern,lpr,mail,messages,news/news,syslog,user}{,.log,.err,.info,.warn,.crit,.notice}{,.*[0-9]*} setf messages
+autocmd BufNewFile,BufRead */log/{auth,cron,daemon,debug,kern,lpr,mail,messages,news/news,syslog,user}{,.log,.err,.info,.warn,.crit,.notice}{,.[0-9],-[0-9]}* setf messages
 
 " Metafont
 au BufNewFile,BufRead *.mf			setf mf
@@ -1180,6 +1180,9 @@
 " Mysql
 au BufNewFile,BufRead *.mysql			setf mysql
 
+" Mutt setup file (also for Muttng), must be before 'rc'
+au BufNewFile,BufRead Mutt{ng,}rc,*/etc/Muttrc.d/* setf muttrc
+
 " M$ Resource files
 au BufNewFile,BufRead *.rc			setf rc
 
@@ -1189,9 +1192,6 @@
 " Mush
 au BufNewFile,BufRead *.mush			setf mush
 
-" Mutt setup file (also for Muttng)
-au BufNewFile,BufRead Mutt{ng,}rc		setf muttrc
-
 " Nano
 au BufNewFile,BufRead */etc/nanorc,.nanorc	setf nanorc
 

Raspunde prin e-mail lui