From f555c00e0b0be14cd553c7c803d6136b86f2012b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 21 Nov 2016 23:32:28 +0100 Subject: vis-lua: pass path as second argument to file_save_post event hook The passed path can be different from file.name for instance when opening a file `a` and then doing `:w b` where file.name will be the former and path the latter. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 47417af..608e1c5 100644 --- a/README.md +++ b/README.md @@ -590,7 +590,7 @@ At this time there exists no API stability guarantees. - `start()` - `quit()` - `file_open(file)` - - `file_save_post(file)` triggered *after* a successfull write + - `file_save_post(file, path)` triggered *after* a successfull write to `path` - `file_close(file)` - `win_open(win)` - `win_close(win)` -- cgit v1.2.3