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

Cursor color turns black #88

Open
zbyju opened this issue Feb 2, 2024 · 6 comments
Open

Cursor color turns black #88

zbyju opened this issue Feb 2, 2024 · 6 comments

Comments

@zbyju
Copy link

zbyju commented Feb 2, 2024

Once I open Navbuddy (:Navbuddy) my cursor turns black for the remainder of using my terminal (even outside neovim).

  1. Cursor is normal:
  2. Open navbuddy
  3. Cursor is black
  4. Even outside neovim

I'm using Windows 10 + WSL2 and it happens both in Windows Terminal and Wezterm. I changed my font which didn't have an effect.

My config is using packer:

use {
  "SmiteshP/nvim-navbuddy",
  requires = {
    "neovim/nvim-lspconfig",
    "SmiteshP/nvim-navic",
    "MunifTanjim/nui.nvim",
    "numToStr/Comment.nvim",        -- Optional
    "nvim-telescope/telescope.nvim" -- Optional
  }
}

Mason lsp:

on_attach = function(client, bufnr)
  navic.attach(client, bufnr)
end

Navbuddy setup:

local navbuddy = require("nvim-navbuddy")
local actions = require("nvim-navbuddy.actions")
navbuddy.setup {
  lsp = {
    auto_attach = true,
  },
}

BTW: I'm quite new to neovim, but I've never seen such issue

@zbyju
Copy link
Author

zbyju commented Feb 2, 2024

Also: this doesn't happen with any other plugin - Telescope, Trouble, etc. all work fine; only when going out of Navbuddy does the cursor change.

@lljbash
Copy link

lljbash commented Feb 5, 2024

Same here, also with WSL2+WT

@SmiteshP
Copy link
Owner

Even outside neovim!? Is this specific to WSL only?

@SmiteshP
Copy link
Owner

Yeah I was also able to replicate this issue on WSL2, seems like setting guicursor with highlight group that has "blend" option set is messing things up somehow. But since this persists even outside neovim this might be a WSL releated bug 🤔 or maybe neovim bug, no idea though

@SmiteshP
Copy link
Owner

Maybe we file a bug in neovim repo itself ?

@ktkimit
Copy link

ktkimit commented May 10, 2024

Same here, but only on WT + wsl2.

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

No branches or pull requests

4 participants