From bcf3e9cebe1ecad1370288d050797a79f09ac067 Mon Sep 17 00:00:00 2001 From: Trey Blancher Date: Sat, 14 Feb 2026 10:42:03 -0500 Subject: [PATCH] Initial commit --- plugged/asyncomplete-muttgoobook.vim | 1 + plugged/vim-wayland-clipboard | 1 + plugged/yuck.vim | 1 + syntax/timetracker.vim | 67 ++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 160000 plugged/asyncomplete-muttgoobook.vim create mode 160000 plugged/vim-wayland-clipboard create mode 160000 plugged/yuck.vim create mode 100644 syntax/timetracker.vim diff --git a/plugged/asyncomplete-muttgoobook.vim b/plugged/asyncomplete-muttgoobook.vim new file mode 160000 index 0000000..eb7079f --- /dev/null +++ b/plugged/asyncomplete-muttgoobook.vim @@ -0,0 +1 @@ +Subproject commit eb7079fd48df2bc9188ebc0d01c192210551bfd6 diff --git a/plugged/vim-wayland-clipboard b/plugged/vim-wayland-clipboard new file mode 160000 index 0000000..cd4efac --- /dev/null +++ b/plugged/vim-wayland-clipboard @@ -0,0 +1 @@ +Subproject commit cd4efac3e77177afdf220146948d0e06245946de diff --git a/plugged/yuck.vim b/plugged/yuck.vim new file mode 160000 index 0000000..9b5e037 --- /dev/null +++ b/plugged/yuck.vim @@ -0,0 +1 @@ +Subproject commit 9b5e0370f70cc30383e1dabd6c215475915fe5c3 diff --git a/syntax/timetracker.vim b/syntax/timetracker.vim new file mode 100644 index 0000000..9d03a1a --- /dev/null +++ b/syntax/timetracker.vim @@ -0,0 +1,67 @@ +" Vim syntaxtax file +" Language: timetracker log +" Creator: Trey Blancher $(base64 -d <<< dGJsYW5jaGVyQHBpbmRyb3AuY29tCg==) +" Latest revision: 2025-05-21 + +if exists("b:current_syntax") + finish +endif + +syntax keyword timetrackerCategories transparent contained +syntax keyword timetrackerStartStop Begin End +syntax keyword timetrackerStandardOps + \ Auth + \ Certified Kubernetes Administrator + \ Grafana + \ Prometheus + \ Resource + \ Risk + \ access + \ daily + \ email + \ handling + \ lesson + \ macOS + \ meeting + \ phoneprint + \ prep + \ scheduled + \ standup + \ timesheets + \ timetracker + \ triage + \ upgrades + \ verification +syntax keyword Providers + \ April + \ Lia + \ Othello + \ fixup + \ job search + +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[13578]\|1[02]\)-\%([0-2]\d\|3[01]\)\|\%(0[469]\|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-\|INC-\)\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 Providers Identifier +highlight default link timetrackerStandardOps Define