Fix #1844 - Make the kotlin languageserver linter work again
This commit is contained in:
parent
3530aa6861
commit
3b7eb6a140
@ -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',
|
||||||
\})
|
\})
|
||||||
|
@ -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')
|
Loading…
Reference in New Issue
Block a user