summaryrefslogtreecommitdiff
path: root/ale_linters/kotlin/languageserver.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/kotlin/languageserver.vim')
-rw-r--r--ale_linters/kotlin/languageserver.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/kotlin/languageserver.vim b/ale_linters/kotlin/languageserver.vim
index aea817ba..af78c0e0 100644
--- a/ale_linters/kotlin/languageserver.vim
+++ b/ale_linters/kotlin/languageserver.vim
@@ -22,8 +22,8 @@ endfunction
call ale#linter#Define('kotlin', {
\ 'name': 'languageserver',
\ 'lsp': 'stdio',
-\ 'executable_callback': ale#VarFunc('kotlin_languageserver_executable'),
+\ 'executable': {b -> ale#Var(b, 'kotlin_languageserver_executable')},
\ 'command': '%e',
\ 'language': 'kotlin',
-\ 'project_root_callback': 'ale_linters#kotlin#languageserver#GetProjectRoot',
+\ 'project_root': function('ale_linters#kotlin#languageserver#GetProjectRoot'),
\})