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',
\ 'lsp': 'stdio',
\ 'executable_callback': ale#VarFunc('kotlin_languageserver_executable'),
\ 'command_callback': '%e',
\ 'command': '%e',
\ 'language': 'kotlin',
\ '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')