gruvbox-community / gruvbox

Retro groove color scheme for Vim - community maintained edition
MIT License
801 stars 62 forks source link

Lightline with gruvbox #125

Closed kaatish closed 4 years ago

kaatish commented 4 years ago

Is lightline actually supported by gruvbox with neovim?

This is what it looks like currently : gruvbox_lightline

The code highlighting looks perfect and I have no issues with that.

My init.vim looks like this :

call plug#begin('~/.local/share/nvim/plugged')
Plug 'gruvbox-community/gruvbox'
Plug 'itchyny/lightline.vim'
call plug#end()

set termguicolors
set background=dark
let g:gruvbox_contrast_dark = 'hard'
colorscheme gruvbox

Right now I am not sourcing gruvbox_256palette.sh, however doing that does not change things. I am using neovim version 0.4.3 on gnome terminal.

danbruegge commented 4 years ago

You have to tell lightline which theme it should use.

let g:lightline = {
    'colorscheme': 'gruvbox',
}
kaatish commented 4 years ago

That worked.