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

Neovim theme looks different in iTerm2 and Warp #1110

Closed
bookercodes opened this issue Apr 18, 2022 · 13 comments
Closed

Neovim theme looks different in iTerm2 and Warp #1110

bookercodes opened this issue Apr 18, 2022 · 13 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@bookercodes
Copy link

Discord username (optional)

No response

Describe the bug

My Neovim theme looks different (especially the pink) in Warp compare to Iterm2.

To Reproduce

Steps to reproduce:

  1. Install https://github.com/wadackel/vim-dogrun
  2. Set colorscheme dogrun and set termguicolors
  3. Open a JavaScript file in iTerm and in Warp
  4. Compare

Expected behaviour

I expect Hyper to look like iTerm (which looks like the screenshots of the theme)

Screenshots

CleanShot 2022-04-18 at 16 23 29@2x

Operating System

MacOS

OS Version

12.0.1

Additional context

Hi team 👋! I wouldn't expect someone to go to the trouble of installing a Vim theme here! Just wondering what the likely suspect is?
@bijancn
Copy link

bijancn commented Apr 20, 2022

I can confirm that colors are very much off. I suspect 256 color support is not there

@wkei
Copy link

wkei commented May 3, 2022

same issue with ayu theme

Hyper vs Warp

image

@xcpky
Copy link

xcpky commented Jun 18, 2022

I have the same issue

@elviskahoro
Copy link
Member

Does it still look off for yall?

@bijancn
Copy link

bijancn commented Jul 11, 2022

Seems to be fixed! (Warp is left, iterm2 is right. First 16 colors are user definable so they don't count)
Screenshot 2022-07-11 at 16 53 17
Screenshot 2022-07-11 at 16 54 14
Screenshot 2022-07-11 at 16 53 49

@xcpky
Copy link

xcpky commented Jul 12, 2022

No, I am using v0.2022.07.04.09.08.stable_02 and I still have the same issue

@Brendonovich
Copy link

Yeah, I'm not sure that this is fixed yet. iTerm2 and Alacritty both look normal, Warp looks desaturated. Could it be related to lack of P3 gamut support?
Screen Shot 2022-07-20 at 3 27 11 am

@jordanbrauer
Copy link

jordanbrauer commented Jul 26, 2022

Does it still look off for yall?

Unfortunately, yes @elviskahoro 😞 .. It seems that 256 is supported & consistent, but anything outside of those colours (using hexcodes) is washed/desaturated or simply does not render :(

At this point I would say that this is the biggest hurdle for me in adopting Warp as my terminal. You guys have done an excellent job at the UX (just needs support for vim mode from .inputrc now 😝!).

Comparisons

Warp (left) and Kitty (right) both running Neovim and the same colour scheme.

  • note the grey text is not working in Warp (directory names, line numbers, text, file info, etc.)
  • the dark green colour is not correct in Warp (branch name along the bottom, func keyword..)

Screen Shot 2022-07-26 at 11 54 19 AM

image

@elviskahoro
Copy link
Member

Going to CC @vorporeal and @gagata

@bfulop
Copy link

bfulop commented Oct 2, 2022

It looks like Warp has no issues displaying all the colors, see the left side of my screenshot. I'm using a color highlighter plugin inside Neovim, and all the colors are properly showing.

It somehow then overrides the theme colors with some random ones. Maybe it's trying to apply it's own color highlighting over Neovim (treesitter)?
It looks like (vim) background colors are shown OK (e.g. the blue background under Strings), but when they are set for the foreground, they are being overwritten.

BalintFulop 02-10 at 09 41@2x

Same code in Kitty:

BalintFulop 02-10 at 09 43@2x

It's a pity because in my own, subjective tests, Warp is the fastest among all the terminal emulators, even Neovim some GUIs! 🚀 👏

To test, I used a Neovim smooth scrolling plugin, on a 4K screen, created vertical window splits inside Neovim and tested (smooth) scrolling in the middle one. It was only in Warp where the scrolling stayed smooth no matter how many splits I created. Kitty, Alacritty, Fvim were all slower to begin with (one split, Fvim) or started to drop frames when adding new (vertical) splits (e.g. Kitty).

@vorporeal
Copy link

@bfulop Thanks for the detailed comment! We've identified the source of the problem and have a fix in the works; we're aiming to get it out in next week's release. :)

@elviskahoro
Copy link
Member

Sharing this across various color related issues. The team fixed one of the core issues with colors and there's a new toggle under Settings > Appearance that let's you configure whether to enforce a minimum contrast (one of the issues). Please check if you're still having color issues again and test tweaking the toggle:

CleanShot 2022-11-10 at 15 17 22@2x

@bfulop
Copy link

bfulop commented Nov 11, 2022

Working great for me! Thank you for the fix!

@warpdotdev-devx warpdotdev-devx bot added the Bugs Bugs, Hangs, Crash, and Freezes label Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

9 participants