The bufferline shows a [+] marker next to the files that have unsaved changes. I have a shortcut that saves the file. However, even though the file was indeed saved, the marker remains.
Moreover, if my shortcut is C-s = ["normal_mode", ":write"], then there are rare cases when the marker disappears.
If I do the sequence ["normal_mode", ":write"] manually, then it all works fine 100% of the time. It seems that some race occurs when it's used as a shortcut. This may be a separate issue though.
Summary
The bufferline shows a
[+]
marker next to the files that have unsaved changes. I have a shortcut that saves the file. However, even though the file was indeed saved, the marker remains.Moreover, if my shortcut is
C-s = ["normal_mode", ":write"]
, then there are rare cases when the marker disappears. If I do the sequence["normal_mode", ":write"]
manually, then it all works fine 100% of the time. It seems that some race occurs when it's used as a shortcut. This may be a separate issue though.Reproduction Steps
[+]
in the buffer line and buffer pickerCtrl+s
on the keyboard<file> written
in the status text belowWhat I expect to happen:
[+]
marker disappearsWhat happens:
[+]
marker remains after multipleCtrl+s
pressesHelix log
No response
Platform
Linux / macOS
Terminal Emulator
gnome-terminal, iTerm
Installation Method
brew / dnf install
Helix Version
helix 24.3 (2cadec0b)