nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.42k stars 286 forks source link

Winbar by default doesn't have highlight on symbols anymore #1353

Closed joshuali925 closed 9 months ago

joshuali925 commented 9 months ago

Describe the bug

after #1344, https://github.com/nvimdev/lspsaga.nvim/blob/52e5abb87676e9f19f479ee1273b4ad53854e6ce/lua/lspsaga/symbol/winbar.lua#L10

this line changed the winbar highlight prefix from Saga to SagaWinbar, and symbols are all the same color now.

Steps to reproduce

  1. use default config

  2. open winbar.lua in this repo

  3. see no colors

    image
  4. change %#SagaWinbar to %#Saga

  5. restart nvim

  6. see colors

image

Expected behavior

should have default highlights as it did previously

Neovim version (nvim -v)

NVIM v0.9.1 Build type: Release

lspsaga commit

@33ab4945

Terminal name/version

wezterm 20230715-162752-2e505ad8