Skip to content

nilBora/micro-autofmt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micro-autofmt

Multi-language formatting plugin for the Micro editor

Setup

  • git clone and make
  • Install whichever formatters you want to use

Usage

  • Run fmt to format the current file.
  • Files will be formatted on save, unless fmt-onsave is set to false (with Ctrl-e > set fmt-onsave false).

Supported formatters

Language Formatter
C/C++/C# clang-format
Python yapf
Racket fmt
JavaScript prettier
Rust rustfmt nightly

Credits

This project is intended as a replacement for the now-dead fmt-micro. o7


All contributions are welcome by pull request or issue.

micro-autofmt is licensed under the GNU General Public License v3.0. See LICENSE for full text.

About

Multi-language autoformatter for Micro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 83.4%
  • Makefile 16.6%