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

Use winbar instead when winbar is available and laststatus=3 #430

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

lambdalisue
Copy link
Owner

@lambdalisue lambdalisue commented Jun 11, 2022

@bluz71
Copy link

bluz71 commented Jun 12, 2022

Hello @lambdalisue,

The functionality of this one works great! Many thanks.

One style tweak. The background color of the bar, when using winbar-based selection should be WinBarNC instead of StatusLineNC.

WinBar and WinBarNC are the correct highlight groups for winbar as noted in syntax.txt (search for WinBar).

StatusLineNC is correct for statusline window selections.
WinBarNC is likewise correct for winbar window selections.

Colorschemes, including my own, can and do choose different colors for winbar vs statusline.

Cheers.

@bluz71
Copy link

bluz71 commented Jun 13, 2022

Thanks @lambdalisue, the styling is nice for both statusline and winbar window selection.

I am looking forward to this PR getting merged.

Screenshot:

Window_Selector

👍 👍

@lambdalisue lambdalisue merged commit 951a05d into master Jun 13, 2022
@lambdalisue lambdalisue deleted the use-winbar branch June 13, 2022 06:49
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

Successfully merging this pull request may close these issues.

No window picker labels are shown when set lstatstatus=3 is used on Neovim
2 participants