nvim-navic icon indicating copy to clipboard operation
nvim-navic copied to clipboard

How alway show the winbar?

Open edblancas opened this issue 1 year ago • 2 comments

How to show always the winbar? Even when there are no items for nvim-navic to show. Just like the demo in the README.

This because the window scrolls when showing nvim-navic and when not.

edblancas avatar Sep 26 '24 00:09 edblancas

I have the same issue, this is particularly annoying when looking at git diffs side to side or when opening git blame (using Fugitive`) as the lines are misaligned.

I am willing to help on this, I think the simple solution would be to always display the winbar (even if navic does not provide any output)

davmacario avatar Oct 07 '24 07:10 davmacario

Setting winbar default to one space works: :set winbar=\ or :lua vim.opt.winbar = " "

scmx avatar Dec 12 '24 13:12 scmx