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

New shortline options #218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Unoqwy
Copy link

@Unoqwy Unoqwy commented Sep 25, 2021

  • Add short_line_buftypes acting like short_line_list but reading vim.bo.buftype. (closes Add buftype = terminal to short line list #156)
  • Add inactive_window_shortline. When toggled off, inactive windows keep their regular statusline.

@emmanueltouzery
Copy link

as a complete bystander, i'd appreciate the inactive_window_shortline boolean, to differentiate between inactive or short_line buffers.
However in an ideal world, it would be nice to be able to differentiate between active & inactive windows, which this boolean doesn't allow. For instance, one might want to be able to have a dimmed or reduced display for inactive windows.

One option instead of an inactive_window_shortline would be a new variable to define inactive_window line display... if it's not defined, inactive windows display the same as short_line windows, same as today. If it is defined however, then you can have inactive windows behaving differently.

That way one could have up to three behaviors: active, inactive, and short list.

@emmanueltouzery
Copy link

otherwise I started using this patch for my setup and it seems to work as expected with inactive_window_shortline=false 👍

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.

Add buftype = terminal to short line list
2 participants