summaryrefslogtreecommitdiff
path: root/test/test_other_sources.vader
diff options
context:
space:
mode:
authorJon Parise <jon@indelible.org>2018-10-30 08:54:40 -0700
committerJon Parise <jon@indelible.org>2018-10-31 08:42:42 -0700
commitb5a7593577e1ada3f81fdaa68862ad4e93dcb5a5 (patch)
tree88ac692c488b1acc149f3f6c5b114609cea586e1 /test/test_other_sources.vader
parent20e4e3f9db1e46306bbe8ba5c33db92950b2e927 (diff)
downloadale-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 'test/test_other_sources.vader')
0 files changed, 0 insertions, 0 deletions