Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme is broken is Kitty terminal #432

Open
EmilyGraceSeville7cf opened this issue Aug 15, 2022 · 1 comment
Open

Theme is broken is Kitty terminal #432

EmilyGraceSeville7cf opened this issue Aug 15, 2022 · 1 comment

Comments

@EmilyGraceSeville7cf
Copy link

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants