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

Add ability to configure the file modification indicator #7526

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmattinson
Copy link

@cmattinson cmattinson commented Jul 3, 2023

Relates to the second request in #7481.

Previously the file modification indicator was documented under [editor.statusline], but the way I have it currently, the configuration will change the file modification indicator on both the buffer line AND the status line. I've moved it to [editor] as it's more of a general editor change the way I have it set up. Wondering if there are any opinions on whether:

A - The configurable indicator should control both the buffer and status line indicator (current)
B - The configurable indicator should only be for the buffer line and the status line default [+] should remain
C - They should be independently configurable

I've also made the assumption that someone may want the entire indicator configurable, rather than just the character(s) inside the [].

Currently will show the same indicator on both the bufferline
and the status line.
@sharpenedblade
Copy link
Contributor

I think the indicator being independently configurable is the best way to go about this. The indicators could be different because the bufferline needs to fit more buffer names but the statusline only needs to fit one (example: [m] in the bufferline and [modified] in the statusline).

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.

2 participants