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

Feat: global statusline should still displays for all filetypes, including ignored_filetypes #744

Closed
lkhphuc opened this issue Jul 18, 2022 · 1 comment · Fixed by #736
Closed
Labels
new feature New feature or feature request

Comments

@lkhphuc
Copy link

lkhphuc commented Jul 18, 2022

Requested feature

When global statusline is used, statusline should works for all buffer, including those in disabled_filetypes tables.

Motivation

disabled_filetypes is used to prevent rendering a crammed statusline in overly small windows, this doesn't apply with global statusline.

  • One option is just to not disabled any filetypes, but that means winbar (if it is ever officially supported feat: refresh lualine based on timer + winbar support. #736 ) will not ignore some filetypes with small windows either.
  • Another option is to have separate options, i.e statusline_disabled_filetypes and winbar_disabled_filetypes (again if it's ever supported)
  • Or just ignore ignored_filetypes altogether when using global statusline.
@lkhphuc lkhphuc added the new feature New feature or feature request label Jul 18, 2022
@shadmansaleh
Copy link
Member

I think I'll just let users specify which filetypes are to be ignored for winbar. That gives more control to user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants