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