From adc20852d678328fdb9efa8cbb08a5c36ebb2018 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 18:53:20 +1200 Subject: Block out :file call on Windows It raises swap file conflict warnings, and doesn't seem to be otherwise needed. --- autoload/write_mkpath.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/autoload/write_mkpath.vim b/autoload/write_mkpath.vim index 7610b87..2503651 100644 --- a/autoload/write_mkpath.vim +++ b/autoload/write_mkpath.vim @@ -30,8 +30,11 @@ function! write_mkpath#(path) abort call mkdir(dir, 'p') " Prod Vim into realising the buffer's directory exists now, so that a - " subsequent change of working directory doesn't break it - silent keepalt file % + " subsequent change of working directory doesn't break it; this doesn't + " appear to be necessary on Windows, for reasons unclear + if !has('win32') && !has('win64') + silent keepalt file % + endif " Re-run the BufWritePre hooks, now that the directory exists and a useable " filename has been set; this will start this function again from the top, -- cgit v1.2.3 From 57f7d217bb267af1ab802324c0137941eb220ece Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 18:53:46 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 7ec1d6d..3e3c2f1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0 +2.1.1 -- cgit v1.2.3