mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-09 08:30:23 +09:00
YOu no longer have to prefix all functions in a plugin with the plugin name (linter_onSave). This will now be done automatically using lua's setfenv. When passing a function as a callback to a editor function, make sure to prefix the plugin name (linter.onExit, or go.goimports) so that micro knows which plugin to call the function from.
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 in in ~/.config/micro/colorschemes and ~/.config/micro/syntax respectively.