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

Fix: blocks instead of gradient in neovim 11 #39

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

Conversation

DeaconDesperado
Copy link

  • Fixes Blocks instead of gradient #31
  • Fixes a fencepost error that would display nil in gradient pickers when scrolling the marker past the left bound
  • Updates some miscellaneous deprecations
  • Adds a make target for running stylua

I was having the same issue as #31 using neovim v0.11.0-nightly with alacritty 0.14.0.

By switching to using extmarks directly with virtual text, the gradient renders correctly. This also allows setting the highlight group for each character individually.

Also fixes a small fencepost bug where adjust(-1, state) could return nil by seeking out of range.

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.

Blocks instead of gradient
1 participant