drewtempelmeyer / palenight.vim

Soothing color scheme for your favorite [best] text editor
MIT License
658 stars 86 forks source link

Wrong color on iterm #37

Open afdallah opened 2 years ago

afdallah commented 2 years ago

Hi, thanks for creating this theme

I have an issue with the color, it looks different compared to the screenshot.

I have enabled the true color on my terminal.

CleanShot 2021-12-23 at 19 10 12@2x

❯ awecho $TERM xterm-256color

CleanShot 2021-12-23 at 19 06 56@2x

vim config

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

set background=dark
colorscheme palenight

if (has("nvim"))
  let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif

if (has("termguicolors"))
  set termguicolors
endif
afdallah commented 2 years ago

Switching termcolors to 16. make the background is more accurate but the line number, and the comment breaks.

CleanShot 2021-12-26 at 12 09 33@2x
drewtempelmeyer commented 2 years ago

@afdallah which versions of vim/neovim and iTerm are you running?