mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 11:31:26 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
214 files changed
+452
-524
No files matched your search
@@ -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