mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 16:42:19 +00:00
be21aa5cda
* New linter: dls
20 lines
418 B
Plaintext
20 lines
418 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('d', 'dls')
|
|
|
|
Save &filetype
|
|
let &filetype = 'd'
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The language string should be correct):
|
|
AssertLSPLanguage 'd'
|
|
|
|
Execute(The default executable should be correct):
|
|
AssertLinter 'dls', 'dls'
|
|
|
|
Execute(The executable should be configurable):
|
|
let g:ale_d_dls_executable = 'foobar'
|
|
|
|
AssertLinter 'foobar', 'foobar'
|