neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

usw2kagtlog.vim (2702B)


      1 " Vim syntax file
      2 " Language:             Innovation Data Processing USW2KAgt.log file
      3 " Maintainer:           Rob Owens <rowens@fdrinnovation.com>
      4 " Latest Revision:      2014-04-01
      5 
      6 " Quit when a syntax file was already loaded
      7 if exists("b:current_syntax")
      8  finish
      9 endif
     10 
     11 " Date:
     12 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/
     13 " Msg Types:
     14 syn match usw2kagtlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagtlog_Process skipwhite
     15 syn match usw2kagtlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagtlog_Process skipwhite
     16 syn match usw2kagtlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagtlog_Process skipwhite
     17 syn match usw2kagtlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagtlog_Process skipwhite
     18 " Processes:
     19 syn region usw2kagtlog_Process start="(" end=")" contained
     20 "syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client request"
     21 "syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client request"
     22 "syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request"
     23 "syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request"
     24 syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client"
     25 syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client"
     26 " IP Address:
     27 syn match usw2kagtlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
     28 " Profile:
     29 
     30 syn match usw2kagtlog_Profile /Profile name \zs\"\S\{1,8}\"/
     31 syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}/
     32 syn match usw2kagtlog_Profile /  Profile: \zs\S\{1,8}\ze, /
     33 syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
     34 syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze  Version date/
     35 syn match usw2kagtlog_Profile /Full of \zs\S\{1,8}\ze$/
     36 syn match usw2kagtlog_Profile /Incr. of \zs\S\{1,8}\ze$/
     37 syn match usw2kagtlog_Profile /profile name "\zs\S\{1,8}\ze"/
     38 " Target:
     39 syn region usw2kagtlog_Target start="Computer: \zs" end="\ze[\]\)]" 
     40 syn region usw2kagtlog_Target start="Computer name \zs\"" end="\"\ze" 
     41 " Agent Keywords:
     42 syn keyword usw2kagtlog_Agentword opened closed
     43 
     44 hi def link usw2kagtlog_Date		Underlined
     45 hi def link usw2kagtlog_MsgD		Type
     46 hi def link usw2kagtlog_MsgE		Error
     47 hi def link usw2kagtlog_MsgW		Constant
     48 hi def link usw2kagtlog_Process		Statement
     49 hi def link usw2kagtlog_IPaddr		Identifier
     50 hi def link usw2kagtlog_Profile		Identifier
     51 hi def link usw2kagtlog_Target		Identifier
     52 hi def link usw2kagtlog_Agentword	Special
     53 
     54 let b:current_syntax = "usw2kagentlog"