Commit: a92b8838137995e1867e6f56b679d383f7bf2462 Parent: d0f755f0d693bdb6c769a39ba3783cd804b5b4dd Author: Randy Palamar Date: Wed, 30 Aug 2023 10:17:13 -0600 vis: set-title: remove unused path arg Diffstat:
M | .config/vis/set-title.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/vis/set-title.lua b/.config/vis/set-title.lua @@ -6,7 +6,7 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) set_title(win.file.name or "[No Name]") end) -vis.events.subscribe(vis.events.FILE_SAVE_POST, function(file, path) +vis.events.subscribe(vis.events.FILE_SAVE_POST, function(file) set_title(file.name) end)