Bram Moolenaar wrote the following on 09.04.2011 15:01
Hello Bram,
-- <snip> --
> I'll include the change for messages, but the one for muttrc now has a
> pattern that ends in a star. That part should use s:StarSetf(), thus it
> needs to be split up.
Thanks for your remarks. Find attached an updated patch.
--
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-09 22:15:25.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 files (must be before catch *.rc)
+au BufNewFile,BufRead */etc/Muttrc.d/* call s:StarSetf('muttrc')
+
" M$ Resource files
au BufNewFile,BufRead *.rc setf rc