micro/runtime
Dmytro Maluka b70f0eb113
Add onAnyEvent callback (#3244)
Implement a radical approach to improving abilities of plugins to detect
and handle various changes of micro's state: add onAnyEvent callback
which is called, literally, after any event. A plugin can use this
callback to compare a state after the previous event and after the
current event, and thus is able to catch various events that cannot be
detected using other callbacks.

Some examples of such events:

- change of current working directory
- switching cursor focus between a bufpane and the command bar
- change of message text in the status bar
2024-05-14 18:01:15 +02:00
..
colorschemes colorscheme: Add capability to include schemes (#2844) 2024-03-21 18:37:51 +01:00
help Add onAnyEvent callback (#3244) 2024-05-14 18:01:15 +02:00
plugins Comment plugin: doc: fix incorrect keybinding 2024-04-25 01:28:34 +02:00
syntax parser: Check and prompt for empty patterns and region properties (fix crash) (#3256) 2024-04-21 20:13:28 +02:00
README.md Update syntax readme and docs 2017-03-26 18:58:08 -04:00
runtime.go refactor(runtime): simplify AssetDir() (#2761) 2023-02-28 01:31:51 -08:00
runtime_test.go refactor(runtime): simplify AssetDir() (#2761) 2023-02-28 01:31:51 -08:00

Runtime files for Micro

This directory will be embedded in the Go binary for portability, but it may just as well be put in ~/.config/micro. If you would like to make your own colorschemes and syntax files, you can put them in ~/.config/micro/colorschemes and ~/.config/micro/syntax respectively.