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