aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-21 23:32:28 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-22 14:57:26 +0100
commitf555c00e0b0be14cd553c7c803d6136b86f2012b (patch)
tree30cc25c10c18cd70b585ebc2c3b27b1631049ec5 /README.md
parenta7115b12267f6165426d0540da6ab0ae6f90a191 (diff)
downloadvis-f555c00e0b0be14cd553c7c803d6136b86f2012b.tar.gz
vis-f555c00e0b0be14cd553c7c803d6136b86f2012b.tar.xz
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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)`