sponsor Vim development Vim logo Vim Book Ad

syslog syntax file : Adds syntax color to log files created by sysklogd.

 script karma  Rating 41/24, Downloaded by 4124  Comments, bugs, improvements  Vim wiki

created by
Bob Hiestand
 
script type
syntax
 
description
Adds syntax color to log files created by sysklogd.  
 
install details
You probably want to add a line to your filetype.vim to automatically recognize files as being generated by syslog:

augroup filetypedetect
  au! BufRead,BufNewFile /var/log/syslog/* set filetype=syslog
augroup END

Of course, your log directory will vary.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
syslog.vim 1.1 2002-09-17 6.0 Bob Hiestand Initial upload
ip used for rating: 3.145.191.22

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github