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

Leap cursor visibility workaround makes cursor invisible on nvim 0.10+ #1219

Open
expipiplus1 opened this issue Sep 25, 2024 · 2 comments
Open
Labels
good first issue Good for newcomers

Comments

@expipiplus1
Copy link

leap_cursor = { -- https://github.com/ggandor/leap.nvim/issues/70#issuecomment-1521177534
{
event = "User",
pattern = "LeapEnter",
callback = function()
vim.cmd.hi("Cursor", "blend=100")
vim.opt.guicursor:append { "a:Cursor/lCursor" }
end,
},
{
event = "User",
pattern = "LeapLeave",
callback = function()
vim.cmd.hi("Cursor", "blend=0")
vim.opt.guicursor:remove { "a:Cursor/lCursor" }
end,
},

These should be conditional on nvim < 0.10

@Uzaaft Uzaaft added the good first issue Good for newcomers label Sep 25, 2024
@ctretyak
Copy link

ctretyak commented Nov 8, 2024

I can approve. Disabling this repairs nvim 0.10 cursor on searching with labels

@Uzaaft
Copy link
Member

Uzaaft commented Nov 8, 2024

Feel free to open a PR.

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

No branches or pull requests

3 participants