Add support for post-processing fixer output

This commit is contained in:
w0rp
2017-11-22 22:32:53 +00:00
parent fbfde6968a
commit d07b5b71a4
3 changed files with 50 additions and 0 deletions

View File

@@ -459,6 +459,15 @@ are supported for running the commands.
for commands which need to modify some file on disk in
order to fix files.
`process_with` An optional callback for post-processing.
The callback must accept two arguments,
`(buffer, output)`, which can be used for converting
the output from a command into lines to replace the
buffer's contents with.
A |List| of |String|s must be returned.
`chain_with` An optional key for defining a callback to call next.
The callback must accept two or three arguments,