Commit: e239fef53335311db93a428b76b5299c974a5492 Parent: ac19482c333e4c4e75348e6e64c70337bff363c4 Author: Randy Palamar Date: Thu, 17 Aug 2023 09:25:21 -0600 vis: stip trailing whitespace before writing files Diffstat:
M | .config/vis/visrc.lua | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -63,3 +63,7 @@ vis.events.subscribe(vis.events.WIN_CLOSE, function(win) end adjust_layout(true) end) + +vis.events.subscribe(vis.events.FILE_SAVE_PRE, function(file, path) + vis:feedkeys("vo") +end)