view .vim/syntax/syslog.vim @ 105:3f1ead4ba8b4

Changes for the Pi: * Code block to start emulationstation if the circumstances warrant, as well * as checking for the presence of a PS3 controller and warning that it isn't * connected. Also adding usernames to the ssh config to make aliases and * whatnot work more easily.
author Steve Huston <huston@astro.princeton.edu>
date Sat, 08 Mar 2014 10:00:34 -0500
parents 2bea356b1032
children
line wrap: on
line source

" $Id: syslog.vim,v 1.1 2002/09/17 16:10:00 rhiestan Exp $
" Vim syntax file
" Language:	syslog log file
" Maintainer:	Bob Hiestand <bob@hiestandfamily.org>
" Last Change:	$Date: 2002/09/17 16:10:00 $
" Remark: Add some color to log files produced by sysklogd.

if version < 600
  syntax clear
elseif exists("b:current_syntax")
  finish
endif

syn match	syslogText	/.*$/
syn match	syslogFacility	/.\{-1,}:/	nextgroup=syslogText skipwhite
syn match	syslogHost	/\S\+/	nextgroup=syslogFacility,syslogText skipwhite
syn match	syslogDate	/^.\{-}\d\d:\d\d:\d\d/	nextgroup=syslogHost skipwhite

if !exists("did_syslog_syntax_inits")
  let did_syslog_syntax_inits = 1
  hi link syslogDate 	Comment
  hi link syslogHost	Type
  hi link syslogFacility	Statement
  hi link syslogText 	String
endif

let b:current_syntax="syslog"