1
0
mirror of https://github.com/scopatz/nanorc synced 2024-09-27 16:39:52 +02:00

Merge pull request #118 from ThomasR/patch-2

Create ical.nanorc
This commit is contained in:
Anthony Scopatz 2016-09-30 02:58:25 -04:00 committed by GitHub
commit 0969169f3e
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/haskell.nanorc"
include "~/.nano/html.nanorc"
include "~/.nano/ical.nanorc"
include "~/.nano/ini.nanorc"
include "~/.nano/inputrc.nanorc"
include "~/.nano/java.nanorc"