updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / vim-syslog / ftdetect.vim
blob4ef344b309357b4e54d43af4d6d0560905afddbb
1 augroup filetypedetect
2     au! BufRead,BufNewFile /var/log/*/*.log,*.info,*.err set filetype=syslog
3     au! BufRead,BufNewFile /var/log/*/*.log-[0-9]\{8\},*.info-[0-9]\{8\},*.err-[0-9]\{8\},*.warn-[0-9]\{8\} set filetype=syslog
4     au! BufRead,BufNewFile /var/log/*/*.log.[0-9]\{1,2\},*.info.[0-9]\{1,2\},*.err.[0-9]\{1,2\},*.warn.[0-9]\{1,2\} set filetype=syslog
5 augroup END