mirror of
https://github.com/vim/vim.git
synced 2026-11-03 19:11:57 +01:00
Problem: filetype: icalendar files are not recognized
Solution: Detect *.ics files as icalendar filetype, include
syntax and filetype plugins (Anakin Childerhose).
Reference:
https://datatracker.ietf.org/doc/html/rfc5545
closes: #21356
Assisted-By: Claude Opus 5
Signed-off-by: Anakin Childerhose <anakin@childerhose.ca>
Signed-off-by: Christian Brabandt <cb@256bit.org>
61 lines
1020 B
Plaintext
61 lines
1020 B
Plaintext
BEGIN:VCALENDAR
|
|
P
|
|
RO
|
|
DID
|
|
:
|
|
-//Pl
|
|
one.org//NONSGML plone.app.event//EN
|
|
VERSION:2.0
|
|
X-WR-CALNAME:test create calendar
|
|
X-WR-CALDESC:icalendar test
|
|
X-WR-RELCALID:12345
|
|
X-WR-TIMEZONE:Europe/Vienna
|
|
BEGIN:VTIMEZONE
|
|
TZID:Europe/Vienna
|
|
X-LIC-LOCATION:Europe/Vienna
|
|
BEGIN:DAYLIGHT
|
|
TZOFFSETFROM:+0100
|
|
TZOFFSETTO:+0200
|
|
TZNAME:CEST
|
|
DTSTART:19700329T020000
|
|
RRULE:
|
|
FR
|
|
EQ
|
|
=
|
|
YEAR
|
|
LY
|
|
;
|
|
BYM
|
|
ONTH=
|
|
3;BYDAY
|
|
=-1SU
|
|
END:DAYLIGHT
|
|
BEGIN:STANDARD
|
|
TZOFFSETFROM:+
|
|
0200
|
|
TZOFFSETTO:+0100
|
|
TZNAME:CET
|
|
DTSTART:19701025T030000
|
|
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
|
END:STANDARD
|
|
END:VTIMEZONE
|
|
BEGIN:VEVENT
|
|
DTSTART;TZID=Europe/Vienna:20120213T100000
|
|
DTEND;TZID=Europe/Vienna:20120217T180000
|
|
DTSTAMP:20101010T091010Z
|
|
CREATED:20101010T091010Z
|
|
UID:123456
|
|
SUMMARY:artsprint 2012
|
|
DESCRIPTION:sprinting at the artsprint
|
|
LOCATION:aka bild, wien
|
|
ATTENDEE;CN=Max
|
|
Mustermann;PARTS
|
|
TAT=ACC
|
|
EPTED:mailto:max@example.org
|
|
ATTENDEE;CN="Mustermann,
|
|
Max";DELEGATED-FROM="mai
|
|
lto:moritz@exa
|
|
mple.org":mailto:max@example.org
|
|
END:VEVENT
|
|
END:VCALENDAR
|