Closed GscheadaHamme closed 2 years ago
I tried the following configuration and it worked fine. vim 8.2
~/.vim/autoload/onedark.vim ~/.vim/colors/onedark.vim
~/.vimrc
syntax on
colorscheme onedark
if $TERM == "xterm-kitty"
set termguicolors
let &t_ut=''
endif
kitty --config=NONE -o include=onedark.kitty.conf
I dont see how this can be a kitty bug, there has been extensive checking of kitty's color rendering including measuring of the output colors with colorimeter. And it has been found to be correct (a bit of searching in the closed issues will find the relevant ones). This must be some kind of misconfiguration and since its not reproducible with a minimal vim config, I am closing.
Turns out my .vimrc is broken and got the wrong impression of how One Dark colors look.
Thanks for your effort and sorry for posing insufficiently researched questions.
I'm afraid the solution to this issue could be rather simple but after researching for quite a while I still have no Idea what's going on.
I'm using the OneDark color scheme for Vim and set the kitty colors according to the One Dark.kitty file included in the package. This is my kitty.conf.
However, the displayed colors are pale compared to the color reference. This extends to Vim after setting OneDark to use terminal emulator colors:
The expected colors can be shown by setting OneDark to use the colors defined in the package:
Is there a way to get kitty to use those true colors?
Many thanks in advance.