SmiteshP / nvim-navbuddy

A simple popup display that provides breadcrumbs feature using LSP server
Apache License 2.0
799 stars 31 forks source link

Cursor color turns black #88

Open zbyju opened 9 months ago

zbyju commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

Same here, also with WSL2+WT

SmiteshP commented 9 months ago

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

SmiteshP commented 9 months ago

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 commented 9 months ago

Maybe we file a bug in neovim repo itself ?

ktkimit commented 6 months ago

Same here, but only on WT + wsl2.