Tehnix / spaceneovim

Spacemacs for Neovim—link to layers 👉
https://github.com/Tehnix/spaceneovim-layers
MIT License
110 stars 4 forks source link

Don't set termguicolors #7

Closed int-index closed 5 years ago

int-index commented 5 years ago

These lines cause issues for me:

https://github.com/Tehnix/spaceneovim/blob/1feb755e7e7a6c1a3733bc68d2cc1e0e7f349396/autoload/spaceneovim.vim#L571-L573

image

I can workaround by adding set notermguicolors to my init.vim, but it results in an unpleasant flash of cyan (like on the screenshot above) before I see proper colors.

Here are the colors I see if I remove these lines:

image

I'm facing this issue on both the Xfce terminal and the macOS Terminal app.

Tehnix commented 5 years ago

I think if you set it manually instead of using e.g. SetThemeWithBg 'dark', 'space-vim-dark', 'violet', there should be no problem.

I.e.

colorscheme 'space-vim-dark'
set background=dark
let g:airline_theme='violet'

with your own theme of course :)

int-index commented 5 years ago

Yes, that works. Thanks!