format command changes the content of the file based on the file type and the formatter command associated with the file type.
- Open
~\.config\micro\init.lua. Create new file when non-existent - Modify
init.lua. Refer toinit.luain this gist. - Update
~\.config\micro\settings.jsonto add the formatters. I've tested only python, lua and html. Others may work 🙏
- For other formatter not listed, refer to the documentation of the cli of the formatter.