Closed petobens closed 10 years ago
autocmd FileType calendar hi! link CalendarSunday Normal
autocmd FileType calendar hi! link CalendarTodaySunday Normal
I don't want Sunday numbers to be shown as regular numbers. I do want them to be shown in a red color but I don't want background highlighting. Currently they are shown as in the first image. I want them to be like in the second image. I know I can do this changing
call calendar#color#syntax('Sunday', s:sunday_fg_color, '', '')
But I want to do that from my vimrc. How should I do it? In the docs there is syntax entry in the table of contents but no explanation afterwards.
How about
autocmd FileType calendar call calendar#color#syntax('Sunday', has('gui') ? '#ff0000' : 196, '', '')
@itchyny thank you that worked! Excellent plugin btw.
How can I remove Sunday date numbers background color? I know I can change this line to
But I was wondering how to do it from my vimrc or colorscheme.
Thanks!