Skip to content

Conversation

fafrd
Copy link

@fafrd fafrd commented Oct 7, 2021

I am trying to get #5314 merged in.
This PR is a rebase of 5314 against master. This should be safe to merge in, #5314 appeared to have consensus to merge.

Ultimately this would resolve issue #5294.

cc @J-Fields @berknam

berknam and others added 2 commits October 7, 2021 12:59
- Removes the hardcoded cursor colors used in visual mode, now it uses
the css 'mix-blend-mode: difference' property to make the color be the
opposite of the block cursor color. This is the same
thing vscode does, except they actually calculate the value instead of
using the css property. The result however is the same color.
Copy link
Member

@J-Fields J-Fields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fafrd! I'd like this behind a config option (which can be enabled by default). fixVisualCursorColor or something. Let me know if you need any help with that.

@fafrd
Copy link
Author

fafrd commented Oct 13, 2021

Sounds good- i'll see if I can make the config change

@J-Fields
Copy link
Member

Any update on this, @fafrd?

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.

3 participants