From a4ef869494239c9dfe920a21472fc07b6da1eab3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 20 Jun 2019 11:54:01 +1200 Subject: Remove trailing whitespace --- plugin/write_mkpath.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " License: Same as Vim itself -" +" if exists('loaded_write_mkpath') || &compatible || v:version < 702 finish endif -- cgit v1.2.3 From 16df936fdb332f2654f1bb501c4de9e27c5be076 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 23 Jun 2019 16:23:16 +1200 Subject: Limit BufWritePre running to plugin augroup --- autoload/write_mkpath.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3 From 5b623ac81f602dcf95332c81a4ecef7876d3ea70 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 23 Jun 2019 16:24:40 +1200 Subject: Bump VERSION --- VERSION | 2 +- doc/write_mkpath.txt | 2 +- 2 files changed, 2 insertions(+), 2 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/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* -- cgit v1.2.3