morhetz / gruvbox

Retro groove color scheme for Vim
13.63k stars 1.11k forks source link

Setting background contrast fails with error; sets to default | Neovim #290

Closed brihadeesh closed 5 years ago

brihadeesh commented 5 years ago

Similar to #258 I'm unable to set the background to the "hard" contrast setting. Defaults to "medium" contrast and throws this error each time I start Neovim (ver 0.3.8, Arch Linux):

E518: Unknown option: g:gruvbox_contrast_dark =

The corresponding line in my init.vim is as per the wiki:

set g:gruvbox_contrast_dark = 'hard'
brihadeesh commented 5 years ago

Apologies for posting without actually trying to work this out myself or reading the wiki through(!). Fixed by changing init.vim to

let g:gruvbox_contrast_dark = 'hard'