itchyny / calendar.vim

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

Error detected by starting calendar #143

Closed andalou closed 5 years ago

andalou commented 5 years ago

I've installed Calendar on vim 8.1.500 under Windows 7. When I do :Calendar I get:


Error detected while processing function calendar#color#syntax: line 9: E411: highlight group not found: CalendarNormalSpace

Many thanks in advance,

Cesar

itchyny commented 5 years ago

Can you test the command :echo [calendar#color#normal_fg_color(), calendar#color#normal_bg_color()] ?

andalou commented 5 years ago

I get:

['', '']
itchyny commented 5 years ago

Can you test :hi Normal and :echo has('gui_running') || (has('termguicolors') && &termguicolors) ?

andalou commented 5 years ago
:hi Normal

gives

Normal xxx font=Lucida_Console:h10:cANSI:qDRAFT

:echo has('gui_running') || (has('termguicolors') && &termguicolors)

gives

1
itchyny commented 5 years ago

I fixed the bug, thanks for your report.