itchyny / calendar.vim

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

Add color variables #33

Closed holyjaw closed 10 years ago

holyjaw commented 10 years ago

I use a vim colorscheme that heavily favors dark colors for the background. The red, blue, and greens used by Calendar.vim clash horribly with my colorscheme; it would be great if there were some variables exposed that could be used to change these colors.

itchyny commented 10 years ago

An example of configuring the color of Sunday.

function! s:calendar_syntax()
  highlight CalendarSunday ctermbg=40 ctermfg=0 guibg=#00df00 guifg=#000000
endfunction
augroup CalendarSetSyntax
  autocmd!
  autocmd FileType calendar call s:calendar_syntax()
augroup END