morhetz / gruvbox

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

Not able to see original colors of gruvbox #383

Open lalitmee opened 3 years ago

lalitmee commented 3 years ago

Somehow, I am not able to see the original colors of the gruvbox theme. When I activate colorscheme gruvbox in my neovim it doesn't show the right colors for the theme.

let g:gruvbox_contrast_dark = 'hard'

" let g:gruvbox_invert_indent_guides='1' " let g:gruvbox_improved_strings='1' " let g:gruvbox_vert_split='gray_245' let g:gruvbox_hls_cursor="purple" let g:gruvbox_hls_highlight="faded_yellow"

colorscheme gruvbox " colorscheme gruvbox8_hard



Any help would be appreciated. I really love `gruvbox` colorscheme and now I am not able to use it because I don't like the colors which it is showing right now in my `neovim`. 
wantyapps commented 3 years ago

Use set termguicolors in your init.vim

lalitmee commented 3 years ago

@wantyapps , I have this set termguicolors in my general settings. But I tried setting it in the colorscheme file too. It didn't work.

uunnxx commented 3 years ago

My settings:

let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors

set background=dark
set t_Co=256
" set background=light

let g:gruvbox_contrast_dark="hard"
" let g:gruvbox_contrast_light="soft"
let g:gruvbox_invert_selection=0
let g:gruvbox_italic=1
let g:gruvbox_inverse=1
let g:gruvbox_underline=1
let g:gruvbox_undercurl=1
let g:gruvbox_transparent_bg=1

" let no_buffer_menu=1

let g:lightline = {
      \ 'colorscheme': 'gruvbox',
      \ }

colorscheme gruvbox

image