reload_all command should ignore scratch buffers #5665
Labels
A-helix-term
Area: Helix term improvements
C-enhancement
Category: Improvements
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-good-first-issue
Call for participation: Issues suitable for new contributors
I often run a script to strip trailing whitespace from all changed files since the last git commit, and use
:reload-all
so helix picks up on the new changes. However, if I have any scratch buffer open it will short-circuit the reloading process, which I believe is not good UX. It would make sense if a file could not be found for normal buffers, and a:reload-all!
command could be added to ignore such situations.This should probably be a trivial change. I'll work on it on my own fork when I have time and then make a PR for it.
The text was updated successfully, but these errors were encountered: