diff options
Diffstat (limited to 'doc/write_mkpath.txt')
-rw-r--r-- | doc/write_mkpath.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/write_mkpath.txt b/doc/write_mkpath.txt index 8ba3709..c4713f8 100644 --- a/doc/write_mkpath.txt +++ b/doc/write_mkpath.txt @@ -18,6 +18,15 @@ REQUIREMENTS *write_mkpath-requirements* This plugin only loads if 'compatible' is not set. +CAVEATS *write_mkpath-caveats* + +In Vim 7.0 and 7.1, the path will be created relative to Vim's working +directory at the time of the write operation, which might not be the same as +the working directory when the buffer was first created, e.g. after a |:cd| +change. This is worked around safely in Vim 7.2 and newer by calculating an +absolute path for new buffers with nonexistent relative paths, but filename +escaping bugs in earlier versions preclude the same fix in older versions. + AUTHOR *write_mkpath-author* Written and maintained by Tom Ryder <tom@sanctum.geek.nz>. |