comparison nanorc.d/ical.nanorc @ 84:b989099cde9f

Start to update Nano colourisation Defaults are REALLY basic
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Mar 2018 21:06:21 +0100
parents
children
comparison
equal deleted inserted replaced
83:966d8f8f89d0 84:b989099cde9f
1 syntax "iCal" "\.ics$"
2
3 color green start="^BEGIN:VCALENDAR$" end="^END:VCALENDAR$"
4 color yellow start="^BEGIN:VCARD$" end="^END:VCARD$"
5 color brightblue start="^BEGIN:VJOURNAL$" end="^END:VJOURNAL$"
6 color magenta start="^BEGIN:VTIMEZONE$" end="^END:VTIMEZONE"
7 color cyan start="^BEGIN:VEVENT$" end="^END:VEVENT$"
8 color brightmagenta start="^BEGIN:VALARM$" end="^END:VALARM$"
9 color brightcyan start="^BEGIN:VFREEBUSY$" end="^END:VFREEBUSY$"
10
11 # URLs
12 color blue start="(https?|ftp)://" end="^[^ ]"
13 # email
14 icolor blue "mailto:[^ ]+"
15 icolor white "mailto:"
16 # parameters
17 color brightyellow start="^[-A-Z0-9]" end=":"
18 color white "^[-A-Z0-9]+"
19 # section markers
20 color red "^(BEGIN|END):.*$"