Mathieu Parent wrote:

> I'm posting the message below again, as I had no response.
> 
> (and http://code.google.com/p/vim/source/browse/runtime/filetype.vim
> is still not patched).

It might help to list the pattern here directly:

au BufNewFile,BufRead 
/var/log/{auth.log,cron.log,daemon.log,debug,kern.log,lpr.log,mail.err,mail.info,mail.log,mail.warn,messages,news/news.crit,news/news.err,news/news.notice,syslog,user.log}{,.*[0-9]}
 setf messages

It's a long list, but there probably is no other way.


-- 
God made the integers; all else is the work of Man.
                -- Kronecker

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui