Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could sonokai_enable_italic = 1 fail gracefully? #21

Closed
githorse opened this issue Apr 17, 2021 · 1 comment
Closed

Could sonokai_enable_italic = 1 fail gracefully? #21

githorse opened this issue Apr 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@githorse
Copy link

System

Linut Mint 20.1 Ulyssa (Ubuntu 20.04 LTS)
GNOME Terminal 3.36.2 using VTE 0.60.3 +BIDI +GNUTLS +ICU +SYSTEMD
xterm-256color
tmux 3.0a
NVIM v0.4.3

Minimal vimrc that can reproduce this bug

call plug#begin('~/.vim/plugged')
Plug 'sainnhe/sonokai'
silent! call plug#end()

let g:sonokai_enable_italic = 1
colorscheme sonokai

image

It took me a while to figure out the blocks of color are occurring because I have g:sonokai_enable_italic = in my .vimrc but don't have a font that supports italics. Not a bug exactly, but would it be possible to fail more gracefully so this just looks like normal text?

@githorse githorse added the bug Something isn't working label Apr 17, 2021
@sainnhe
Copy link
Owner

sainnhe commented Apr 17, 2021

That's because your terminal emulator doesn't support italics. Check FAQ, there is something like "Comment color looks weird", which gives a possible solution.

@sainnhe sainnhe closed this as completed Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants