Closed sorin-ionescu closed 13 years ago
Agreed.
Apologies if this is obvious to you already, but ignoring all buffers that are not supposed to be listed should do the trick:
class Buffer
def listed?
VIM::nonzero? VIM::evaluate("getbufvar(#{number()}, '&buflisted')")
end
end
I'm not sure where in the code the attribute should best be checked, though.
Yep, that should do the trick. I'll try to test a patch.
Should be fixed in [29da037].
Lusty Juggler should not be listing utility buffers like, for example, __Tag_List__.