From 1cd19aa3fe276f1b71d19cb8171d140335132d1f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 1 Jun 2019 11:48:53 +1200 Subject: Wipe alternate buffer --- autoload/write_mkpath.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/write_mkpath.vim b/autoload/write_mkpath.vim index 3bcd786..6c55e78 100644 --- a/autoload/write_mkpath.vim +++ b/autoload/write_mkpath.vim @@ -20,7 +20,10 @@ function! write_mkpath#New(path) abort " Set filename to absolute path using :file {name}; do it silently so that " the nice name remains displayed to the user. Record the name of the " alternate buffer first, so we can put it back after :file messes with it. - execute 'silent keepalt file '.fnameescape(getcwd().'/'.a:path) + execute 'silent file '.fnameescape(getcwd().'/'.a:path) + + " Wipe the unlisted alternate buffer that :file leaves behind + bwipe # endfunction -- cgit v1.2.3 From 39931643b0abc90412a908bfdc6c3c57f4ae1650 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 1 Jun 2019 11:50:13 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 524cb55..45a1b3f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.1 +1.1.2 -- cgit v1.2.3