Update runtime files.

This commit is contained in:
Bram Moolenaar
2013-08-03 18:35:36 +02:00
parent f40f4ab8df
commit 9d98fe9cae
32 changed files with 676 additions and 642 deletions

View File

@ -1,7 +1,7 @@
" Vim syntax file
" Language: Innovation Data Processing USW2KAgt.log file
" Maintainer: Rob Owens <rowens@fdrinnovation.com>
" Latest Revision: 2013-06-17
" Latest Revision: 2013-07-26
" Quit when a syntax file was already loaded
if exists("b:current_syntax")
@ -9,40 +9,41 @@ if exists("b:current_syntax")
endif
" Date:
syn match usw2kagentlog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/
syn match usw2kagtlog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/
" Msg Types:
syn match usw2kagentlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagentlog_Process skipwhite
syn match usw2kagentlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagentlog_Process skipwhite
syn match usw2kagentlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagentlog_Process skipwhite
syn match usw2kagentlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagentlog_Process skipwhite
syn match usw2kagtlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagtlog_Process skipwhite
syn match usw2kagtlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagtlog_Process skipwhite
syn match usw2kagtlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagtlog_Process skipwhite
syn match usw2kagtlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagtlog_Process skipwhite
" Processes:
syn region usw2kagentlog_Process start="(" end=")" contained
syn region usw2kagentlog_Process start="Starting the processing for a \zs\"" end="\ze client request"
syn region usw2kagentlog_Process start="Ending the processing for a \zs\"" end="\ze client request"
syn region usw2kagtlog_Process start="(" end=")" contained
syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client request"
syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client request"
" IP Address:
syn match usw2kagentlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
syn match usw2kagtlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
" Profile:
syn region usw2kagentlog_Profile start="Profile name \zs" end="\"\S\{1,8}\""
syn region usw2kagentlog_Profile start=" Profile: \zs" end="\S\{1,8}"
syn region usw2kagentlog_Profile start=" Profile: \zs" end="\ze, "
syn region usw2kagentlog_Profile start="Backup Profile: \zs" end="\ze Version date"
syn region usw2kagentlog_Profile start="Full of \zs" end="\ze$"
syn region usw2kagentlog_Profile start="Incr. of \zs" end="\ze$"
syn region usw2kagentlog_Profile start="profile name \zs\"" end="\""
" Target:
syn region usw2kagentlog_Target start="Computer: \zs" end="\ze[\]\)]"
syn region usw2kagentlog_Target start="Computer name \zs" end="\ze,"
" Agent Keywords:
syn keyword usw2kagentlog_Agentword opened closed
hi def link usw2kagentlog_Date Underlined
hi def link usw2kagentlog_MsgD Type
hi def link usw2kagentlog_MsgE Error
hi def link usw2kagentlog_MsgW Constant
hi def link usw2kagentlog_Process Statement
hi def link usw2kagentlog_IPaddr Identifier
hi def link usw2kagentlog_Profile Identifier
hi def link usw2kagentlog_Target Identifier
hi def link usw2kagentlog_Agentword Special
syn match usw2kagtlog_Profile /Profile name \zs\"\S\{1,8}\"/
syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}/
syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}\ze, /
syn match usw2kagtlog_Profile /Backup Profile: \zs\ze Version date/
syn match usw2kagtlog_Profile /Full of \zs\S\{1,8}\ze$/
syn match usw2kagtlog_Profile /Incr. of \zs\S\{1,8}\ze$/
syn match usw2kagtlog_Profile /profile name "\zs\S\{1,8}\ze"/
" Target:
syn region usw2kagtlog_Target start="Computer: \zs" end="\ze[\]\)]"
syn region usw2kagtlog_Target start="Computer name \zs" end="\ze,"
" Agent Keywords:
syn keyword usw2kagtlog_Agentword opened closed
hi def link usw2kagtlog_Date Underlined
hi def link usw2kagtlog_MsgD Type
hi def link usw2kagtlog_MsgE Error
hi def link usw2kagtlog_MsgW Constant
hi def link usw2kagtlog_Process Statement
hi def link usw2kagtlog_IPaddr Identifier
hi def link usw2kagtlog_Profile Identifier
hi def link usw2kagtlog_Target Identifier
hi def link usw2kagtlog_Agentword Special
let b:current_syntax = "usw2kagentlog"