sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
49.88k stars 1.26k forks source link

Syntax Request: iCalendar #2458

Open WhyNotHugo opened 1 year ago

WhyNotHugo commented 1 year ago

Syntax: iCalendar (rfc 5545)

Guideline Criteria: [packagecontro.io link here]


Regrettably, this doesn't seem to have 10k downloads by packagecontrol.io; it only has 2k. However, there is no other implementation, let alone one with 10k, so I'm not sure how to proceed.

I have to say tho: iCalendar is a bit of an odd case: it's not a format that humans usually EDIT, but it's a format that humans can READ, so I don't expect there to ever be any implementation with more than 10k downloads by Sublime Text; this has more value for bat than it does for sublime.

iCalendar is, however, an actual standard format (both formally and de-facto). As someone working on calendaring interoperability, support for this would be of immense value.

keith-hall commented 1 year ago

Hi, in case you don't want to wait for a positive response and subsequent new release of bat, did you know you can convert the tmLanguage to a sublime-syntax file using Sublime Text, then use it in bat locally? https://github.com/sharkdp/bat#adding-new-syntaxes--language-definitions

sharkdp commented 1 year ago

Thank you. I think you made a good point ("it's not a format that humans usually EDIT, but it's a format that humans can READ"). Let's consider this for inclusion into bat.