Skip to content

Commit 4283881

Browse files
committed
onSetActive doc: move it
Cosmetic change: move onSetActive description to keep it together with other callbacks that are associated with bufpane, not with buffer.
1 parent 186817d commit 4283881

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/help/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ which micro defines:
5151

5252
* `postinit()`: initialization function called after `init()`.
5353

54-
* `onSetActive(bufpane)`: runs when changing the currently active bufpane.
55-
5654
* `onBufferOpen(buf)`: runs when a buffer is opened. The input contains
5755
the buffer object.
5856

5957
* `onBufPaneOpen(bufpane)`: runs when a bufpane is opened. The input
6058
contains the bufpane object.
6159

60+
* `onSetActive(bufpane)`: runs when changing the currently active bufpane.
61+
6262
* `onAction(bufpane)`: runs when `Action` is triggered by the user, where
6363
`Action` is a bindable action (see `> help keybindings`). A bufpane
6464
is passed as input and the function should return a boolean defining

0 commit comments

Comments
 (0)