mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-17 06:20:28 +00:00
plugins.md: Add (on|pre)Rune documentation (#2837)
This commit is contained in:
parent
7e64a43af6
commit
e5bbeff8ac
1 changed files with 4 additions and 0 deletions
|
|
@ -65,6 +65,10 @@ which micro defines:
|
|||
by the user. Returns a boolean which defines whether the action should
|
||||
be canceled.
|
||||
|
||||
* `onRune(rune)`: runs when the composed rune has been inserted
|
||||
|
||||
* `preRune(rune)`: runs before the composed rune will be inserted
|
||||
|
||||
For example a function which is run every time the user saves the buffer
|
||||
would be:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue