option: Don't apply rmtrailingws in case of timed autosave (#2850)

This commit is contained in:
Jöran Karl
2024-03-15 18:46:51 +01:00
committed by GitHub
parent 8af304cc21
commit 4a53419c62
3 changed files with 14 additions and 6 deletions

View File

@@ -418,7 +418,7 @@ func DoEvent() {
f.Function(f.Output, f.Args)
case <-config.Autosave:
for _, b := range buffer.OpenBuffers {
b.Save()
b.AutoSave()
}
case <-shell.CloseTerms:
case event = <-screen.Events: