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 /ale_linters/php/phpmd.vim | |
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 'ale_linters/php/phpmd.vim')
0 files changed, 0 insertions, 0 deletions