summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-02-22 20:48:06 +0000
committerw0rp <devw0rp@gmail.com>2019-02-22 20:48:06 +0000
commit89e54918623f6ed42beed5c7c33bee796676449c (patch)
tree235de744c804c704e06df97fac2160aa2ae9e9ba /doc/ale.txt
parent883978ece93bd19250d6d7e8b9659b48f23522e2 (diff)
downloadale-89e54918623f6ed42beed5c7c33bee796676449c.zip
Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)"
This reverts commit f1ed654ca5318de5a24b37d882e55e04e4e566c8.
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 16f7262d..efba5e35 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -578,14 +578,10 @@ The values for `g:ale_fixers` can be a list of |String|, |Funcref|, or
for a function set in the ALE fixer registry.
Each function for fixing errors must accept either one argument `(buffer)` or
-three arguments `(buffer, done, lines)`, representing the buffer being fixed,
-a function to call with results, and the lines to fix. The functions must
-return either `0`, for changing nothing, a |List| for new lines to set, a
-|Dictionary| for describing a command to be run in the background, or `v:true`
-for indicating that results will be provided asynchronously via the `done`
-callback.
-
-NOTE: The `done` function has not been implemented yet.
+two arguments `(buffer, lines)`, representing the buffer being fixed and the
+lines to fix. The functions must return either `0`, for changing nothing, a
+|List| for new lines to set, or a |Dictionary| for describing a command to be
+run in the background.
Functions receiving a variable number of arguments will not receive the second
argument `lines`. Functions should name two arguments if the `lines` argument