nanorc/ical.nanorc
2018-08-09 10:09:19 +02:00

21 lines
662 B
Plaintext

syntax "iCal" "\.ics$"
color green start="^BEGIN:VCALENDAR$" end="^END:VCALENDAR$"
color yellow start="^BEGIN:VCARD$" end="^END:VCARD$"
color blue start="^BEGIN:VJOURNAL$" end="^END:VJOURNAL$"
color magenta start="^BEGIN:VTIMEZONE$" end="^END:VTIMEZONE"
color cyan start="^BEGIN:VEVENT$" end="^END:VEVENT$"
color magenta start="^BEGIN:VALARM$" end="^END:VALARM$"
color cyan start="^BEGIN:VFREEBUSY$" end="^END:VFREEBUSY$"
# URLs
color blue start="(https?|ftp)://" end="^[^ ]"
# email
icolor blue "mailto:[^ ]+"
icolor white "mailto:"
# parameters
color yellow start="^[-A-Z0-9]" end=":"
color white "^[-A-Z0-9]+"
# section markers
color red "^(BEGIN|END):.*$"