zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.96k stars 1.17k forks source link

Add onRune parameter, utf8 package in plugins.md #3100

Closed niten94 closed 6 months ago

niten94 commented 9 months ago

The bufpane where a rune is entered is passed when onRune, preRune are called and unicode/utf8 can be used in plugins, but the parameter and package were not written in plugins.md so they have been added in the file in this pull request.

niten94 commented 8 months ago

There are only packages that are in the Go standard library in the list where unicode/utf8 was added, but humanize is not in the standard library so I do not think it can be added there. It is written that humanize can be used in plugins under the list so I do not think something has to be added about the package.