1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00

Create ical.nanorc

This commit is contained in:
Thomas Rosenau 2016-09-30 08:51:12 +02:00 committed by ThomasR
parent b6a2406bc9
commit cdfc249731
2 changed files with 21 additions and 0 deletions

20
ical.nanorc Normal file
View File

@ -0,0 +1,20 @@
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):.*$"

1
nanorc
View File

@ -26,6 +26,7 @@ include "~/.nano/groff.nanorc"
include "~/.nano/haml.nanorc" include "~/.nano/haml.nanorc"
include "~/.nano/haskell.nanorc" include "~/.nano/haskell.nanorc"
include "~/.nano/html.nanorc" include "~/.nano/html.nanorc"
include "~/.nano/ical.nanorc"
include "~/.nano/ini.nanorc" include "~/.nano/ini.nanorc"
include "~/.nano/inputrc.nanorc" include "~/.nano/inputrc.nanorc"
include "~/.nano/java.nanorc" include "~/.nano/java.nanorc"