morhetz / gruvbox

Retro groove color scheme for Vim
13.56k stars 1.1k forks source link

Colorscheme is activated but not applied #326

Open kbreit opened 4 years ago

kbreit commented 4 years ago

I installed gruvbox using vim-plug but it's not working as I'd expect. It's installed in ~/.vim/pugged/ and .vimrchas this content...

call plug#begin('~/.vim/plugged')
" Color-schemes
    Plug 'morhetz/gruvbox'
call plug#end()

colorscheme gruvbox

However, when I load vim the theme isn't applied. This is true whether I load vim natively or execute :colorscheme gruvbox.

ghost commented 4 years ago

I am also experiencing the same issue. Here's my .vimrc file.

call plug#begin('~/.vim/plugged') 

Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'flrnprz/plastic.vim'
Plug 'HerringtonDarkholme/yats.vim'
Plug 'morhetz/gruvbox'

call plug#end()

" Color Scheme

set termguicolors
set background=dark
syntax enable
colorscheme gruvbox

I see the theme not applying in both Vim 8.1 and latest NeoVim.😕

ghost commented 4 years ago

Update: Found my issue. In iTerm2, the minimum contrast was maxed out. Just had to bring it down to zero.

ehrktia commented 4 years ago

got same issue in osx , my minimum contrast in iterm is already set to zero by default.

ghost commented 3 years ago

Same issue here with neovim: I am use neovim on windows. Gruvbox was correctly installed. ':colorscheme' returns gruvbox and there is no other colorscheme that overwrites gruvbox

wfmueller29 commented 2 years ago

I am having the same issue except on windows

timoregon commented 2 years ago

I'm also having this issue, but I accidentally stumbled on a weird hack in that if I load onedark first and then load gruvbox, it works. Like this:

colorscheme: onedark
colorscheme: gruvbox

If anyone knows why or how to not do this and have it work properly I'd appreciate the help.

Edit: Also wanted to note that my minimum contrast is set to 0 on iTerm2 and I'm still not able to load the colorscheme without the above

DigitalAce9 commented 5 months ago

I'm also having this issue, but I accidentally stumbled on a weird hack in that if I load onedark first and then load gruvbox, it works. Like this:

colorscheme: onedark
colorscheme: gruvbox

If anyone knows why or how to not do this and have it work properly I'd appreciate the help.

Edit: Also wanted to note that my minimum contrast is set to 0 on iTerm2 and I'm still not able to load the colorscheme without the above

Here's the line that got mine working: set background=dark Now my colors look correct -- before this, my background was a nasty tan color.