diff options
author | Jerko Steiner <jerko.steiner@gmail.com> | 2019-10-18 01:32:31 +0900 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-10-17 17:32:31 +0100 |
commit | e5a4c82917a17e759350d5137fb1afbf3e933c2a (patch) | |
tree | 39cf59399d9d8a422c64b4c14dc141c208dedf08 /test/command_callback | |
parent | f4070f6c43b3cb2e7463d8426a68d5a726991288 (diff) | |
download | ale-e5a4c82917a17e759350d5137fb1afbf3e933c2a.zip |
Add support for nimlsp (#2815)
* Add support for nimlsp.vim
* Add test and docs for nimlsp
* Add nimlsp to supported-tools.md
* Add nimlsp to doc/ale-supported-languages-and-tools.txt
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_nimlsp_command_callback.vader | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command_callback/test_nimlsp_command_callback.vader b/test/command_callback/test_nimlsp_command_callback.vader new file mode 100644 index 00000000..c109deef --- /dev/null +++ b/test/command_callback/test_nimlsp_command_callback.vader @@ -0,0 +1,12 @@ +Before: + call ale#assert#SetUpLinterTest('nim', 'nimlsp') + +After: + call ale#assert#TearDownLinterTest() + +Execute(It does not set nim sources by default): + AssertLinter 'nimlsp', ale#Escape('nimlsp') + +Execute(Sets nimlsp and escapes sources from g:ale_nim_nimlsp_nim_sources): + let g:ale_nim_nimlsp_nim_sources = '/path/to /Nim' + AssertLinter 'nimlsp', ale#Escape('nimlsp') . ' ' . ale#Escape('/path/to /Nim') |