morhetz / gruvbox

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

Theme is broken is Kitty terminal #432

Open EmilyGraceSeville7cf opened 1 year ago

EmilyGraceSeville7cf commented 1 year ago

Mate terminal 1.26.0 works perfectly:

image

Kitty terminal 0.25.2 shows broken colors:

image

My ~/.vimrc:

set number relativenumber
set background=light

call plug#begin()
Plug 'davidhalter/jedi-vim'
Plug 'nvie/vim-flake8'
Plug 'itspriddle/vim-shellcheck'
Plug 'alx741/vinfo'
Plug 'morhetz/gruvbox'
call plug#end()

if (empty($TMUX))
  if (has("nvim"))
    "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
    let $NVIM_TUI_ENABLE_TRUE_COLOR=1
  endif
  "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
  "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
  " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
  if (has("termguicolors"))
    set termguicolors
  endif
endif

colorscheme gruvbox
command! Flake :call flake8#Flake8()
vlada-dudr commented 1 year ago

I guess that's something with your setup. Kitty doesn't implement BCE and Vim likely doesn't handle that well. What's your $TERM? Do you have kitty terminfo installed?