mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-09 11:11:32 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
@@ -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')},
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user