mirror of https://github.com/dense-analysis/ale
Fix a typo in the LSP linter documentation
This commit is contained in:
parent
bd92616e2a
commit
c8b77fd4b8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue