Skip to content

fix: do not clear blend prop from highlight #351

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

Open
wants to merge 357 commits into
base: main
Choose a base branch
from
Open

Conversation

davkk
Copy link

@davkk davkk commented Apr 12, 2025

This small change fixes an issue where blend property was being cleared from highlight, causing transparency to stop working. It seems like that line was added by mistake.

Before:
image

After:
image

sorachii and others added 30 commits November 8, 2021 16:24
* Added markdown highlights.

* enchancement: Improve non-treesitter support(rose-pine#6)

Added markdown highlight groups.
* feat: Add more highlights to nvim-cmp

This should close rose-pine#36.
For information sake, the colors and the arrangement is very personal,
and can be subject to changes.
Feel free to complete the list of supported CmpItemKind from there: https://github.com/hrsh7th/nvim-cmp/blob/main/lua/cmp/types/lsp.lua#L108

* fix: Remove subtle hl for CmpItemKinds
* fix: neogit highlight broken after #fe1974e

* feat(neogit): adjust highlight contrast
- `rose-pine.functions.select_variant` -> `rose-pine.set`
- `rose-pine.functions.toggle_variant` -> `rose-pine.toggle`
* refactor: palette

* refactor: simplify init

* chore!: rename functions

- `rose-pine.functions.select_variant` -> `rose-pine.set`
- `rose-pine.functions.toggle_variant` -> `rose-pine.toggle`

* docs: update options

* chore: update config with shared headings
mvllow and others added 24 commits August 25, 2024 13:09
* Update readme.md

Extended description for Structured Setup lazy.nvim

* Update readme.md

---------

Co-authored-by: mvllow <[email protected]>
The `SignAdd`, `SignChange`, and `SignDelete` are never referenced by
any other highlight definitions than the previous `GitSigns` ones before
this change.

The isolated definitions are only left for backward compatibility.
* fix: set `background=light` if variant is "dawn"

This change might fix rose-pine#321

* Update lua/rose-pine.lua

* fix: restrict variants that override `&background`

The other variant params are considered as if "auto"
@mvllow
Copy link
Member

mvllow commented Apr 13, 2025

Unfortunately there were issues reported with Neovide and having the blend property in there. Blend is a key that we repurposed but perhaps we should have our own name for it so we don’t have to clear it, like opacity?

@davkk
Copy link
Author

davkk commented Apr 13, 2025

Sure, I have replaced the current use of blend key with the new opacity

@mvllow
Copy link
Member

mvllow commented Apr 15, 2025

I have to look into this a bit further once I get a chance. This would be a breaking change so I'd want to have a way to automatically handle the blend too. Are you using Neovide?

@davkk
Copy link
Author

davkk commented Apr 15, 2025

This would be a breaking change so I'd want to have a way to automatically handle the blend too.

sounds good. do you mean detecting whether we are in Neovide?

as of this branch, blend behaves like you would expect in Neovim

Are you using Neovide?

no, just a terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.