Add flake8 linter, postinit and preinit

Closes #1768
This commit is contained in:
Zachary Yedidia
2020-07-13 13:28:26 -04:00
parent a45591a24d
commit 781a2dd826
4 changed files with 20 additions and 4 deletions

View File

@@ -43,6 +43,12 @@ are called when certain events happen. Here is the list of callbacks
which micro defines:
* `init()`: this function should be used for your plugin initialization.
This function is called after buffers have been initialized.
* `preinit()`: initialization function called before buffers have been
initialized.
* `postinit()`: initialization function called after `init()`.
* `onBufferOpen(buf)`: runs when a buffer is opened. The input contains
the buffer object.