-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 customizable read-only indicator to statusbar #2862
add customizable read-only indicator to statusbar #2862
Conversation
…'file modified' indicator
Co-authored-by: Michael Davis <[email protected]>
simplify text and offset computation Co-authored-by: Gokul Soumya <[email protected]>
Would it be possible to get this reviewed soon? Merging will require me to modify #2831 but this lays the groundwork for these sorts of changes. |
If anything, we may want to wait on this for #2434 and then split out the Whether to default this to being enabled or disabled is worth some discussion: kakoune does not show a read-only indicator but vim does. |
The problem we currently have with helix is that it's possible to lose work because of the lack of realization that you're editing a RO file. |
…ger/helix into sbromberger/read-only-indicator
That particular issue was fixed recently: #1575 |
Wow, I didn't even see that merged. Thanks! |
Turns out this was more straightforward than I had expected (thanks to the great new statusline implementation). This works for me locally but more review would be appreciated. |
Updates documentation to reflect decision re: defaulting to never showing bufferline.
Update configuration.md to reflect new default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good to me. I think enabling this by default is a good choice 👍
Co-authored-by: Michael Davis <[email protected]>
Co-authored-by: Michael Davis <[email protected]>
…ger/helix into sbromberger/read-only-indicator
@the-mikedavis is there anything else this PR needs? |
The bufferline commits should probably be dropped out of the changes but otherwise this looks good to me |
closes #2627.