mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 22:50:21 +09:00
Merge pull request #3245 from dmaluka/onsetactive-fix
Fix issues with `onSetActive` callback
This commit is contained in:
@@ -51,14 +51,14 @@ 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.
|
||||
|
||||
* `onBufPaneOpen(bufpane)`: runs when a bufpane is opened. The input
|
||||
contains the bufpane object.
|
||||
|
||||
* `onSetActive(bufpane)`: runs when changing the currently active bufpane.
|
||||
|
||||
* `onAction(bufpane)`: runs when `Action` is triggered by the user, where
|
||||
`Action` is a bindable action (see `> help keybindings`). A bufpane
|
||||
is passed as input and the function should return a boolean defining
|
||||
|
||||
Reference in New Issue
Block a user