status.lua: Display commit and branch of repository where file is located by niten94 · Pull Request #3673 · micro-editor/micro (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't have enough free time at this part of the year even with other things.
Other exposed constant types are
intbut I was confused when I tried to compare withb.Typea year ago. Thinking about it now, I think a note could be added in documentation.
I plan to add a note about buffer.BT* constants and option registration (mentioned in sparques/micro-quoter#8 (comment)), but I am not good at writing documentation so someone else may still do it.
Currently, you cannot directly create buffers that are not of type
BTDefault, so even if you change the type, theonBufferOpen()function will always receive aBTDefault.
Please create another issue. I haven't honestly read your comments in other issues much, but for now I suggest to avoid long text like what I did in the description of #3578.