diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-02-25 14:42:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-02-25 14:42:19 +0100 |
commit | 0065402f9a7e1317a58884f4e3588cdc6a8d3b92 (patch) | |
tree | 253048de056029ae93335f1c3273c14ea968b50f /runtime/filetype.vim | |
parent | c30846f525a7aace2999e83126b0847254ddaa8b (diff) |
Runtime file updates.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index ef1318088b..3b01aaf42b 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2010 Dec 17 +" Last Change: 2011 Feb 23 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1100,8 +1100,8 @@ au BufNewFile,BufRead *.mel setf mel " Mercurial config (looks like generic config file) au BufNewFile,BufRead *.hgrc,*hgrc setf cfg -" Messages -au BufNewFile,BufRead /var/log/messages,/var/log/messages.*[0-9] setf messages +" 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 " Metafont au BufNewFile,BufRead *.mf setf mf |