savq / melange-nvim

🗡️ Warm color scheme for Neovim and beyond
MIT License
729 stars 55 forks source link

Colorscheme doesn't look right ... #56

Closed githorse closed 1 year ago

githorse commented 1 year ago

Why doesn't my colorscheme look anything like the screenshots?

image

It's melange -- but the comments are big maroon blocks and the strings are big purple blocks. I don't see any comments in your screenshots, but surely they don't do that ... at least the strings in your screenshots don't. I don't want my colorscheme to highlight anything in so visually startling a manner (except possibly errors, but probably not even that).

I suspect I might be seeing the same problem with other colorschemes too, not just melange. So I'm thinking the problem is on my side, but I have idea where to look. Any idea what setting I might be screwing up here?

savq commented 1 year ago

It's probably a problem with your terminal emulator (or multiplexer). I recommend you use a terminal emulator that supports italics.

If you cannot use a different terminal emulator for some reason, Melange also has a way to disable font variants (this is a relic of the old implementation and might change in the future):

-- In Lua
vim.g.melange_enable_font_variants = 0
githorse commented 1 year ago

Yep, that's it. Switched from GNOME terminal to kitty and now all my colorschemes work fine. Thank you!

githorse commented 1 year ago

For those of you following along at home -- it turns out the issue was with tmux, not GNOME terminal. Setting

set -g default-terminal "tmux-256color"

in my tmux.conf resolved the issue. However, now I have a similar problem with quotes:

image

Again, across all colorschemes here, not specific to melange. If anyone knows what the special sauce for that one is, I'm all ears.