cocopon / iceberg.vim

:antarctica: Bluish color scheme for Vim and Neovim
https://cocopon.github.io/iceberg.vim/
MIT License
2.22k stars 132 forks source link

iceberg.vim isn't adapting well on some terminals #92

Closed ghost closed 3 years ago

ghost commented 3 years ago

Environment:

If you have a trouble with coloration and are using Vim/Neovim with terminal:


some Terminals like windows terminal and (cmd.exe) also have issues with iceberg.vim, the entire vim screen is white when using iceberg.vim colorscheme, while other terminal emulators (kitty, xfce4-terminal) adapts it just fine

here's the video shown: https://user-images.githubusercontent.com/65075766/129345428-f11bf495-535c-4d5c-ab71-5ad23bb7c15d.mp4

while manually re-setting iceberg.vim colorscheme works via :colorscheme iceberg but it's not a ideal solution

gkeep commented 3 years ago

Please provide your .vimrc/init.vim.

ghost commented 3 years ago

@gkeep here's my .vimrc

syntax on
colorscheme iceberg

" text editor config
set wrap!
set tabstop=8
set shiftwidth=8
set expandtab

" use i-beam cursor block when in INSERT mode
" https://github.com/thestinger/termite/issues/691
let &t_SI = "\e[6 q"
let &t_EI = "\e[2 q"
gkeep commented 3 years ago

Can you try adding set background=dark to your .vimrc and see if that fixes the issue?

Possibly related: https://github.com/cocopon/iceberg.vim/issues/62#issuecomment-629300599

ghost commented 3 years ago

It works! now it's on dark theme again. thank you for the solution. i appreciate it! 👍