ku1ik / vim-monokai

Monokai color scheme for Vim converted from Textmate theme
MIT License
1.44k stars 594 forks source link

Background is getting set to 'light' #36

Open sum01 opened 6 years ago

sum01 commented 6 years ago

:verbose set background?

background=light                                                                                                                                                                                                                    
      Last set from ~/.config/nvim/plugged/vim-monokai/colors/monokai.vim

Previously the background was set to dark, which I think looks much better. Doing

colorscheme monokai
set background=dark

causes very weird coloration after reopening Neovim.

Someone on Gitter mentioned it having something to do with the Normal setting, but I'm clueless on how that works.

EDIT: It seems that https://github.com/viniciusban/vim-monokai/commit/ccf64ba420813f49ead45ef47c0ac6ccdf2a6187 fixes this issue for me, specifically this line https://github.com/viniciusban/vim-monokai/commit/ccf64ba420813f49ead45ef47c0ac6ccdf2a6187#diff-1086d27abfd7189ca65d49e9b001ceffR31


Vim: Neovim v0.2.2 Term: Konsole v18.04.2 Monokai 859f4ce5936690d695df7dd43866321b8a553bcf installed with Plug Config:

call plug#begin()
    Plug 'sickill/vim-monokai'
call plug#end()

set termguicolors
syntax enable
colorscheme monokai
ingram1107 commented 2 years ago

I couldn't replicate the issue using Neovim 0.6. Does the problem still appear while using this colorscheme?

sum01 commented 2 years ago

Not sure. I don't use this theme or even the same terminal anymore.