bclose.vim
bclose.vim copied to clipboard
Bug when using bclose.vim with lf.vim
I noted some strange behavior while using lf.vim and opened an issue: https://github.com/ptzz/lf.vim/issues/14
I investigated a little and it could be that the bug is in bclose.vim.
Look at line 50 inside bclose.vim:
if prevbuf > 0 && buflisted(prevbuf) && prevbuf != w
The last condition is comparing a buffer id (prevbuf) with a window id (w), which I think is the source of the problem.