extending vim with shell commands | 9

for .! to work your cli must accept stdin

Many formatters don't support stdin so I made a little shim genericformat

genericformat --help

usage: genericformat [-h] --formatter FORMATTER [code]

format some code with a formatter

positional arguments:
  code                  the code to format

options:
  -h, --help            show this help message and exit
  --formatter FORMATTER
                        path to the formatter to run