diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/write_mkpath.vim | 4 | ||||
-rw-r--r-- | doc/write_mkpath.txt | 2 | ||||
-rw-r--r-- | plugin/write_mkpath.vim | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -1 +1 @@ -2.1.1 +2.2.0 diff --git a/autoload/write_mkpath.vim b/autoload/write_mkpath.vim index 2503651..42cb49a 100644 --- a/autoload/write_mkpath.vim +++ b/autoload/write_mkpath.vim @@ -36,9 +36,9 @@ function! write_mkpath#(path) abort silent keepalt file % endif - " Re-run the BufWritePre hooks, now that the directory exists and a useable + " Re-run the BufWritePre hook, now that the directory exists and a useable " filename has been set; this will start this function again from the top, " but stop when it sees the directory now exists - doautocmd BufWritePre + doautocmd write_mkpath BufWritePre endfunction diff --git a/doc/write_mkpath.txt b/doc/write_mkpath.txt index b300855..6d909eb 100644 --- a/doc/write_mkpath.txt +++ b/doc/write_mkpath.txt @@ -1,4 +1,4 @@ -*write_mkpath.txt* For Vim version 7.2 Last change: 2019 Jun 4 +*write_mkpath.txt* For Vim version 7.2 Last change: 2019 Jun 23 DESCRIPTION *write_mkpath* diff --git a/plugin/write_mkpath.vim b/plugin/write_mkpath.vim index eb35504..b0a3542 100644 --- a/plugin/write_mkpath.vim +++ b/plugin/write_mkpath.vim @@ -4,7 +4,7 @@ " " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself -" +" if exists('loaded_write_mkpath') || &compatible || v:version < 702 finish endif |