Re-added timetracker syntax file, for push to origin
This commit is contained in:
parent
eced99c49f
commit
1fcc3668c5
|
@ -0,0 +1,204 @@
|
|||
" Vim syntaxtax file
|
||||
" Language: timetracker log
|
||||
" Creator: Trey Blancher $(base64 -d <<< dGJsYW5jaGVyQHBpbmRyb3AuY29tCg==)
|
||||
" Latest revision: 2023-04-19
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword timetrackerCategories Cloud Call Delivery Internal On Prem PTO transparent contained
|
||||
syntax keyword timetrackerStartStop Begin End
|
||||
syntax keyword timetrackerStandardOps
|
||||
\ API
|
||||
\ APT
|
||||
\ AST
|
||||
\ AVT
|
||||
\ All
|
||||
\ Auth
|
||||
\ Authenticate
|
||||
\ Behavior
|
||||
\ Bio
|
||||
\ Call
|
||||
\ Certified Kubernetes Administrator
|
||||
\ Clarizen
|
||||
\ Correlation
|
||||
\ Device
|
||||
\ DRE
|
||||
\ DSM
|
||||
\ Express
|
||||
\ Feedback
|
||||
\ Grafana
|
||||
\ Hands
|
||||
\ Identity
|
||||
\ Keyboard
|
||||
\ Maestro
|
||||
\ PCPN
|
||||
\ Passport
|
||||
\ PIN token renewal
|
||||
\ Prometheus
|
||||
\ Protect
|
||||
\ Push
|
||||
\ Risk
|
||||
\ Slack
|
||||
\ Transfer
|
||||
\ VeriCall
|
||||
\ Voice
|
||||
\ Vormetric
|
||||
\ access
|
||||
\ behaviorprint
|
||||
\ daily
|
||||
\ email
|
||||
\ handling
|
||||
\ lesson
|
||||
\ macOS
|
||||
\ meeting
|
||||
\ phoneprint
|
||||
\ prep
|
||||
\ scheduled
|
||||
\ standup
|
||||
\ timesheets
|
||||
\ timetracker
|
||||
\ triage
|
||||
\ upgrades
|
||||
\ verification
|
||||
\ voiceprint
|
||||
syntax keyword Customers
|
||||
\ 53rd
|
||||
\ A Cloud Guru
|
||||
\ AIG
|
||||
\ Aetna
|
||||
\ Affinity
|
||||
\ Alerus
|
||||
\ Alliant
|
||||
\ Ally
|
||||
\ America
|
||||
\ American
|
||||
\ Ameriprise
|
||||
\ AmerisourceBergen
|
||||
\ Amerisource
|
||||
\ Anthem
|
||||
\ Associated
|
||||
\ Athene
|
||||
\ BMO
|
||||
\ Banamex
|
||||
\ Bandwidth
|
||||
\ Bank
|
||||
\ Banks
|
||||
\ Bergen
|
||||
\ Block
|
||||
\ Broadway
|
||||
\ CS
|
||||
\ Canada
|
||||
\ Canadian
|
||||
\ Canvas
|
||||
\ Capital
|
||||
\ Citi
|
||||
\ CitiBanamex
|
||||
\ Citibanamex
|
||||
\ Citizens
|
||||
\ Colorado
|
||||
\ Comerica
|
||||
\ Community
|
||||
\ CoPERA
|
||||
\ Credit
|
||||
\ Desert
|
||||
\ Digital
|
||||
\ E
|
||||
\ ETRADE
|
||||
\ Empower
|
||||
\ Equifax
|
||||
\ Equitable
|
||||
\ FNBO
|
||||
\ FNBPA
|
||||
\ FPCU
|
||||
\ Fargo
|
||||
\ Federal
|
||||
\ Fifth
|
||||
\ Financial
|
||||
\ First
|
||||
\ GTE
|
||||
\ Gen
|
||||
\ Hancock
|
||||
\ Hawaiian
|
||||
\ Homestreet
|
||||
\ Huntington
|
||||
\ Jackson
|
||||
\ John
|
||||
\ KeyBank
|
||||
\ Kohls
|
||||
\ Life
|
||||
\ Lock
|
||||
\ Manulife
|
||||
\ Mass
|
||||
\ Montreal
|
||||
\ Mutual
|
||||
\ NYL
|
||||
\ National
|
||||
\ Nationwide
|
||||
\ Navy
|
||||
\ New
|
||||
\ Northwestern
|
||||
\ Norton
|
||||
\ Of
|
||||
\ One
|
||||
\ PERA
|
||||
\ PNC
|
||||
\ Pindrop
|
||||
\ Plus
|
||||
\ Regions
|
||||
\ Republic
|
||||
\ Rowe
|
||||
\ Royal
|
||||
\ S3
|
||||
\ Santander
|
||||
\ Securian
|
||||
\ Sentry
|
||||
\ South
|
||||
\ State
|
||||
\ Support
|
||||
\ TIAA
|
||||
\ Tire
|
||||
\ T[.]
|
||||
\ The
|
||||
\ Third
|
||||
\ TRADE
|
||||
\ TripActions
|
||||
\ US
|
||||
\ Union
|
||||
\ United
|
||||
\ Wells
|
||||
\ West
|
||||
\ Woodforest
|
||||
\ WSECU
|
||||
\ York
|
||||
\ Zions
|
||||
\ of
|
||||
\ the
|
||||
|
||||
syntax match timetrackerTimestamp /\d\{4}-\%(0[135789]-\%([0-2]\d\|3[01]\)\|\%(1[02]-\%([0-2]\d\|3[01]\)\)\|0[46]-\%([0-2]\d\|30\)\|11-\%([0-2]\d\|30\)\|02-[0-2]\d\) \%([01]\d\|2[0-3]\):\%([0-5]\d\)\%(:[0-5]\d\)\{2}/ contained
|
||||
"syntax match ticket /\(#|CM-|PD-\)\d\+/
|
||||
"syntax match timetrackerTimestampError /^\(\d\{4}-\d\{2}-\d\{2} \d\{2}:\d\{2}:\d\{2}\)\@!/ contained
|
||||
syntax match timetrackerTask /.*/ contained
|
||||
|
||||
"syntax match timetrackerTimestampError /^\(\(\d\{4}-\d\{2}-\d\{2} \d\{2}:\d\{2}:\d\{2}\)\@!\)/ transparent contained
|
||||
|
||||
|
||||
"syntax region errTimestamp matchgroup=timestamp start=/^\(\d\{4}-\(0\d\|1[0-2]\)-\d\{2} \d\{2}:\d\{2}:\d\{2}\)\@!/ end=/: / contains=timetrackerTimestamp
|
||||
syntax region timestampGroup start=/^/ end=/: / contains=timetrackerTimestamp
|
||||
syntax region errTimestamp matchgroup=timestamp start="^\%(\d\{4}-\%(0[135789]-\%([0-2]\d\|3[01]\)\|\%(1[02]-\%([0-2]\d\|3[01]\)\)\|0[46]-\%([0-2]\d\|30\)\|11-\%([0-2]\d\|30\)\|02-[0-2]\d\) \%([01]\d\|2[0-3]\)\%(:[0-5]\d\)\{2}\)\@!" end=": "
|
||||
syntax region category start=/\[/ end=/\]/ contains=timetrackerCategories
|
||||
syntax region ticket start=/\(#\|CM-\|PD-\|NETENG-\|OPS-\)\d\{-1}/ end=/\d /
|
||||
"syntax region item matchgroup=task start=/\]\s[\k ]\+/ end=/$/ contains=ticket
|
||||
|
||||
|
||||
let b:current_syntaxtax = "timetracker"
|
||||
|
||||
highlight default link errTimestamp Error
|
||||
highlight default link timestamp String
|
||||
highlight default link timestampGroup String
|
||||
highlight default link timetrackerStartStop Statement
|
||||
highlight default link category Type
|
||||
highlight default link ticket Constant
|
||||
highlight default link Customers Identifier
|
||||
highlight default link timetrackerStandardOps Constant
|
Loading…
Reference in New Issue