Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 737 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 737 Bytes

micro-zigfmt

Plugin for the micro editor that provides support for:

  • zig fmt on save
  • zig fmt --check integration with the official linter plugin

for Zig files.

Installation

Using the plugin manager:

micro -plugin install zigfmt

Or from within micro (must restart micro afterwards for the plugin to be loaded):

> plugin install zigfmt

Or manually install by cloning this repo as zigfmt into your plug directory:

git clone https://github.com/squeek502/micro-zigfmt ~/.config/micro/plug/zigfmt

Usage

See the help file

Or, after installation, from within micro:

> help zigfmt