nvimdev / lspsaga.nvim

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

Allow custom hl for winbar #1343

Closed qRoC closed 10 months ago

qRoC commented 10 months ago

Cannot set different background for winbar and float/popups

https://github.com/neovim/neovim/issues/26037

Proposal

Allow set custom Saga* highlights for winbar (configurable prefix https://github.com/nvimdev/lspsaga.nvim/blob/283a3fc8e01191095d33c078031c577e8f9427b9/lua/lspsaga/symbol/winbar.lua#L10C23-L10C23 )

glepnir commented 10 months ago

can have an option to receive a background color or config SagaWinbarxx with a background color in your config.

qRoC commented 10 months ago

Same issue for borders (for example diagnostic.border_follow) :(

glepnir commented 10 months ago

follow to false then it will use SagaBorder

qRoC commented 10 months ago

Yes, I just report. Perhaps the best way is to create own highlights and link them to current ones.

glepnir commented 10 months ago

yes. DiagnosticBorder for use