f7568438ef
In the horrible scenario in which neovim or vim are not available on a
system I use (and yeah, I found one recently wtf), nano is a simple
alternative that gets the job done... these files are for my comfort IN
nano but not optimal. 😞
21 lines
686 B
Plaintext
21 lines
686 B
Plaintext
syntax "iCal" "\.ics$"
|
|
|
|
color green start="^BEGIN:VCALENDAR$" end="^END:VCALENDAR$"
|
|
color yellow start="^BEGIN:VCARD$" end="^END:VCARD$"
|
|
color brightblue start="^BEGIN:VJOURNAL$" end="^END:VJOURNAL$"
|
|
color magenta start="^BEGIN:VTIMEZONE$" end="^END:VTIMEZONE"
|
|
color cyan start="^BEGIN:VEVENT$" end="^END:VEVENT$"
|
|
color brightmagenta start="^BEGIN:VALARM$" end="^END:VALARM$"
|
|
color brightcyan start="^BEGIN:VFREEBUSY$" end="^END:VFREEBUSY$"
|
|
|
|
# URLs
|
|
color blue start="(https?|ftp)://" end="^[^ ]"
|
|
# email
|
|
icolor blue "mailto:[^ ]+"
|
|
icolor white "mailto:"
|
|
# parameters
|
|
color brightyellow start="^[-A-Z0-9]" end=":"
|
|
color white "^[-A-Z0-9]+"
|
|
# section markers
|
|
color red "^(BEGIN|END):.*$"
|