Add onSetActive callback (#2885)

Co-authored-by: taconi <igor.tacoi@protonmail.com>
This commit is contained in:
taconi
2023-08-31 13:29:07 -03:00
committed by GitHub
parent 1cbe1441aa
commit 75b9a6cefe
2 changed files with 10 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ which micro defines:
* `postinit()`: initialization function called after `init()`.
* `onSetActive(bufpane)`: runs when changing the currently active panel.
* `onBufferOpen(buf)`: runs when a buffer is opened. The input contains
the buffer object.