-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Something wrong with the vim colorshemes #6755
Comments
This is a version of #293 that is not fixed by #6698 #6506. vim.exe achieves setting this "background" by explicitly redefining what the console color at index 0 means. This is actually worse after #6506 because we're better about exposing the drawing operations of the application to the terminal, and we still believe console color 0 to be the "background". When an application uses the legacy console API to set the colors, we drop the background and foreground out so the acrylic can shine through. This is very dangerously close to acting by design and might need a fix in vim.exe. |
Is there a preview build that includes 6698 and 6506? |
@gordonmessmer at this point, the 1.2 preview should be out that includes those changes. |
I'm thinking that we might be able to fix this if we had conpty listen for changes to the color table, and emit those with the OSC sequences for setting the color table. I don't think this is the right solution - |
This is because on those platforms Vim uses VT sequences, but on Windows it does not. If you use Vim inside WSL you can see that it will work the same way 😄 |
I don't think this will help. I wrote a patch to fix issue #2985 that does something like this, and it makes no difference to vim. The underlying problem is that the console API can't differentiate between a black background and default, so we treat them as the same thing (that is they're both interpreted as default). So it doesn't matter what the palette color for black is set to - a black background is still going to be interpreted as default, and thus will always be transparent (if you have acrylic enabled). |
Environment
Steps to reproduce
I installed onedark.vim colorscheme for vim.
But the colorscheme doesn't work correctly as I saw on my Mac.
By the way, I am using the Terminal colorscheme
snazzy
.Here's it's config:
Expected behavior
This is what
onedark.vim
really looks like:Actual behavior
But it looks like this here:
The text was updated successfully, but these errors were encountered: