diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 16:24:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 16:24:49 +1200 |
commit | 2e8372a1c589ccd03207010c7777e155f2f7823a (patch) | |
tree | 4b3bd44aecf86a171aef6ad02ab76949ab2e07d5 | |
parent | Merge branch 'hotfix/v2.1.1' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-write-mkpath-master.tar.gz vim-write-mkpath-master.zip |
* release/v2.2.0:
Limit BufWritePre running to plugin augroup
Remove trailing whitespace
-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 |