New linter: dls (#1992)

* New linter: dls
This commit is contained in:
Auri
2018-10-17 18:11:41 +03:00
committed by w0rp
parent d999eb1f35
commit be21aa5cda
7 changed files with 72 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
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'