itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 71 forks source link

Use color events with local calendar #184

Closed dtrckd closed 3 years ago

dtrckd commented 3 years ago

Hi,

Is is possible to use colored event when storing event in local mode ?

If not, do you have a hint of where in a code I can look to try to implement that feature ?

itchyny commented 3 years ago

I believe the colors are assigned automatically on creating a new calendar, but if you wish you can edit ~/.cache/calendar.vim/local/calendarList directly.

dtrckd commented 3 years ago

I was not obvious that we can just add a new entry with new ID and color in this file, but that works !

Thanks you @itchyny.