summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-30 20:23:57 +0100
committerw0rp <devw0rp@gmail.com>2018-05-30 20:23:57 +0100
commitc8b77fd4b8d726e70567d65563e32c777962b840 (patch)
treec4def0edf7eb9640a0d7441861c5e121dffbff14 /doc/ale.txt
parentbd92616e2a47e959faf7a20537e1248f3f882885 (diff)
downloadale-c8b77fd4b8d726e70567d65563e32c777962b840.zip
Fix a typo in the LSP linter documentation
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 932c96b8..6bca5e99 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -2313,14 +2313,14 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
process for a language server runnning, and
communicates with it directly via a |channel|.
- When this argument is not empty, `project_callback`
- must be defined, and only one of either `language` or
- `language_callback` must be defined.
+ When this argument is not empty, only one of either
+ `language` or `language_callback` must be defined,
+ and `project_root_callback` must be defined.
LSP linters handle diagnostics automatically, so
the `callback` argument must not be defined.
- `project_callback` A |String| or |Funcref| for a callback function
+ `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
file being checked with the language server. If an