mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
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
This commit is contained in:
12
test/command_callback/test_nimlsp_command_callback.vader
Normal file
12
test/command_callback/test_nimlsp_command_callback.vader
Normal file
@@ -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')
|
||||
Reference in New Issue
Block a user