aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--autoload/write_mkpath.vim4
-rw-r--r--doc/write_mkpath.txt2
-rw-r--r--plugin/write_mkpath.vim2
4 files changed, 5 insertions, 5 deletions
diff --git a/VERSION b/VERSION
index 3e3c2f1..ccbccc3 100644
--- a/VERSION
+++ b/VERSION
@@ -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