summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-22 22:32:53 +0000
committerw0rp <devw0rp@gmail.com>2017-11-22 22:32:53 +0000
commitd07b5b71a460eb0eeb5956f0da9dc409c24723aa (patch)
treec2356b5082b154d8c3ccac13b1fc831273ff302f /doc
parentfbfde6968a562abb88373588687d9b26cac68469 (diff)
downloadale-d07b5b71a460eb0eeb5956f0da9dc409c24723aa.zip
Add support for post-processing fixer output
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index f7141cf9..12a8b860 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -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,