update for newer neovim

This commit is contained in:
Barak Michener 2018-04-12 13:17:30 -07:00
parent 5a6e686ab3
commit 1bc33a19cc
3 changed files with 12 additions and 33 deletions

View file

@ -1,3 +1,12 @@
if exists("loaded_bclosePlugin")
finish
endif
if (v:progname == "ex")
finish
endif
let loaded_bclosePlugin = 1
"here is a more exotic version of my original Kwbd script
"delete the buffer; keep windows; create a scratch buffer if no buffers left
function s:Kwbd(kwbdStage)