acmego

command
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Acmego watches acme for .go files being written.

Usage:

acmego [-f]

Each time a .go file is written, acmego checks whether the import block needs adjustment. If so, it makes the changes in the window body but does not write the file. It depends on “goimports” being installed.

If the -f option is given, reformats the Go source file body as well as updating the imports. It also watches for other known extensions and runs their formatters if found in the executable path.

The other known extensions and formatters are:

.rs - rustfmt
.py - yapf

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL