Closed uga-rosa closed 1 year ago
0 is not nullish, so bufferPath is able to be 0. But 0 is falsy, so I can't get to fn.bufexists().
Also, even if you could get there, bufexists(0) would not be the result you want. 0 indicates ddu buffer.
I don't understand.
The essential problem is that the ddu.vim set item.action.bufNr to 0.
OK. I get the reason.
0 is not nullish, so bufferPath is able to be 0. But 0 is falsy, so I can't get to fn.bufexists().
Also, even if you could get there, bufexists(0) would not be the result you want. 0 indicates ddu buffer.