Fix #1844 - Make the kotlin languageserver linter work again
This commit is contained in:
parent
3530aa6861
commit
3b7eb6a140
2 changed files with 9 additions and 1 deletions
|
@ -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',
|
||||
\})
|
||||
|
|
|
@ -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')
|
Reference in a new issue