Skip to content

akikareha/micro-fmtonsave-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Format on Save Plugin for Micro

Format on Save is a micro text editor plugin that automatically formats source code when saving a file.
By default, it supports Lua via StyLua and several other languages. You can also configure custom formatters per filetype using the plugin's settings.

See help/fmtonsave.md for more details.

Installation

Place the plugin folder in ~/.config/micro/plug/fmtonsave/, or clone it directly from the GitHub repository:

mkdir -p ~/.config/micro/plug
git clone https://github.com/akikareha/micro-fmtonsave-plugin ~/.config/micro/plug/fmtonsave

Alternatively, this plugin is also available through the unofficial plugin channel:
https://github.com/akikareha/micro-unofficial-plugin-channel
You can install it by adding the channel and then using plugin install.

License

MIT.

Author

Aki Kareha (aki@kareha.org)

About

A micro text editor plugin that auto-format files on save using formatters like StyLua.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages