diff options
author | Jon Parise <jon@indelible.org> | 2018-10-30 08:54:40 -0700 |
---|---|---|
committer | Jon Parise <jon@indelible.org> | 2018-10-31 08:42:42 -0700 |
commit | b5a7593577e1ada3f81fdaa68862ad4e93dcb5a5 (patch) | |
tree | 88ac692c488b1acc149f3f6c5b114609cea586e1 /doc/ale-development.txt | |
parent | 20e4e3f9db1e46306bbe8ba5c33db92950b2e927 (diff) | |
download | ale-b5a7593577e1ada3f81fdaa68862ad4e93dcb5a5.zip |
Add a `lsp_config_callback` linter option
This is the callback-based variant of the existing `lsp_config` linter
option. It serves the same purpose but can be used when more complicated
processing is needed.
`lsp_config` and `lsp_config_callback` are mutually exclusive options;
if both an given, a linter preprocessing error will be raised.
The runtime logic has been wrapped in `ale#lsp_linter#GetConfig` for
convenience, similar to `ale#lsp_linter#GetOptions`.
This also adds documentation and an `AssertLSPConfig` test function for
completeness.
Diffstat (limited to 'doc/ale-development.txt')
-rw-r--r-- | doc/ale-development.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ale-development.txt b/doc/ale-development.txt index ac72d615..1e168130 100644 --- a/doc/ale-development.txt +++ b/doc/ale-development.txt @@ -306,6 +306,7 @@ given the above setup are as follows. `AssertLinterNotExecuted` - Check that linters will not be executed. `AssertLSPLanguage language` - Check the language given to an LSP server. `AssertLSPOptions options_dict` - Check the options given to an LSP server. +`AssertLSPConfig config_dict` - Check the config given to an LSP server. `AssertLSPProject project_root` - Check the root given to an LSP server. `AssertLSPAddress address` - Check the address to an LSP server. |