Closed ofseed closed 7 months ago
Thanks for the bug fix @ofseed.
In e8d35d08e1ac3f08d418c38de1d30b681c0f678e, I switched the equality check to instead use to_bool
, a utility function that I've used for this type of scenario.
I also added the same type of fix to coc.lua
(1b11329ece4cd25884b56c129aedc23ff1665d92).
The vimscript function
bufexists
will return0
forv:false
and1
forv:true
, and0
is considered true in Lua. This is often an overlooked mistake.