Fix a typo in the LSP linter documentation

This commit is contained in:
w0rp 2018-05-30 20:23:57 +01:00
parent bd92616e2a
commit c8b77fd4b8
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83

View File

@ -2313,14 +2313,14 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
process for a language server runnning, and process for a language server runnning, and
communicates with it directly via a |channel|. communicates with it directly via a |channel|.
When this argument is not empty, `project_callback` When this argument is not empty, only one of either
must be defined, and only one of either `language` or `language` or `language_callback` must be defined,
`language_callback` must be defined. and `project_root_callback` must be defined.
LSP linters handle diagnostics automatically, so LSP linters handle diagnostics automatically, so
the `callback` argument must not be defined. 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 accepting a buffer number. A |String| should be
returned representing the path to the project for the returned representing the path to the project for the
file being checked with the language server. If an file being checked with the language server. If an