-
-
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
Split modification indicator from file statusline elements #4731
Conversation
Let's call this "FileModificationIndicator" |
@the-mikedavis Ok, I found a reference to dirty somewhere so that's why I called it that. |
@the-mikedavis I changed it along with the other related variables. |
@kirawi Is there anything you are waiting for me on this PR? |
@the-mikedavis I feel like this is a fairly uncontroversial change. |
@kirawi @the-mikedavis The tests are passing now. I didn't see that before. |
We could make the element customizable. |
I believe this one needs an update in the configuration docs. |
Ah good catch, a new line for this should be added in this table helix/book/src/configuration.md Line 93 in 0a7c697
|
Created #6036 to update the docs. |
Obsoleted by helix-editor#4731
Obsoleted by helix-editor#4731
Obsoleted by helix-editor#4731
Obsoleted by helix-editor#4731
attempts to close #4686
Adds a new "file-dirty" status line element that can replace the
[+]
symbol that appears after the file name.This allows the element to be added before the "file-name" element so the dirty symbol will be visible for long file/directory names.
Adds logic to keep the dirty element after the "file-name" element if it is not in the list. This keeps current config files and the default configuration working as they were before while allowing the dirty element to be placed wherever the config file specifies.