Fix #1844 - Make the kotlin languageserver linter work again

This commit is contained in:
w0rp 2018-08-24 10:41:33 +01:00
parent 3530aa6861
commit 3b7eb6a140
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
2 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,7 @@ call ale#linter#Define('kotlin', {
\ 'name': 'languageserver', \ 'name': 'languageserver',
\ 'lsp': 'stdio', \ 'lsp': 'stdio',
\ 'executable_callback': ale#VarFunc('kotlin_languageserver_executable'), \ 'executable_callback': ale#VarFunc('kotlin_languageserver_executable'),
\ 'command_callback': '%e', \ 'command': '%e',
\ 'language': 'kotlin', \ 'language': 'kotlin',
\ 'project_root_callback': 'ale_linters#kotlin#languageserver#GetProjectRoot', \ 'project_root_callback': 'ale_linters#kotlin#languageserver#GetProjectRoot',
\}) \})

View File

@ -0,0 +1,8 @@
Before:
call ale#assert#SetUpLinterTest('kotlin', 'languageserver')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'kotlin-language-server', ale#Escape('kotlin-language-server')