Closed nyngwang closed 1 year ago
win.buf()
is smillar to tab.current_win()
, line.tabs()
. These functions means "new tabby-buf object", "new tabby-win object," and "new tabby-tab object array". I want to lazily calculate and build tabline.
The tabby.buf.id
in the document should be a mistake.
Got it, then you can safely close this issue!
As title. First, I appreciate this beautiful plugin and have a good time doing the customization. But regarding the coding part, It took me some time debugging to realize that
tabbywin.buf
is actually a function instead of a field. That is, the working code looks kinda cumbersome:(In this code I assumed
win
should meantabby-win
as per your documentation)At first, this is more of an aesthetic problem with the code. But then I notice that your documentation also said
tabby.buf.id
. Could you elaborate more on this part?