diff options
Diffstat (limited to 'ale_linters/python/pyls.vim')
-rw-r--r-- | ale_linters/python/pyls.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ale_linters/python/pyls.vim b/ale_linters/python/pyls.vim index 2c2ed94c..c7f91430 100644 --- a/ale_linters/python/pyls.vim +++ b/ale_linters/python/pyls.vim @@ -28,9 +28,9 @@ endfunction call ale#linter#Define('python', { \ 'name': 'pyls', \ 'lsp': 'stdio', -\ 'executable_callback': 'ale_linters#python#pyls#GetExecutable', -\ 'command_callback': 'ale_linters#python#pyls#GetCommand', -\ 'project_root_callback': 'ale#python#FindProjectRoot', +\ 'executable': function('ale_linters#python#pyls#GetExecutable'), +\ 'command': function('ale_linters#python#pyls#GetCommand'), +\ 'project_root': function('ale#python#FindProjectRoot'), \ 'completion_filter': 'ale#completion#python#CompletionItemFilter', -\ 'lsp_config_callback': ale#VarFunc('python_pyls_config'), +\ 'lsp_config': {b -> ale#Var(b, 'python_pyls_config')}, \}) |