summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ale.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 6bca5e99..b6122c3e 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -2320,6 +2320,9 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
LSP linters handle diagnostics automatically, so
the `callback` argument must not be defined.
+ An optional `completion_filter` callback may be
+ defined for filtering completion results.
+
`project_root_callback` A |String| or |Funcref| for a callback function
accepting a buffer number. A |String| should be
returned representing the path to the project for the
@@ -2345,6 +2348,15 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
This option can be used instead of `language` if a
linter can check multiple languages.
+ `completion_filter` A |String| or |Funcref| for a callback function
+ accepting a buffer number and a completion item.
+
+ The completion item will be a |Dictionary| following
+ the Language Server Protocol `CompletionItem`
+ interface as described in the specification,
+ available online here:
+ https://microsoft.github.io/language-server-protocol
+
`aliases` A |List| of aliases for the linter name.
This argument can be set with alternative names for