#2132 - Replace all uses of foo_callback with foo

This commit is contained in:
w0rp
2019-02-22 18:05:04 +00:00
parent f53b25d256
commit 883978ece9
214 changed files with 452 additions and 524 deletions

View File

@@ -7,8 +7,8 @@ call ale#Set('ocaml_ols_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('ocaml', {
\ 'name': 'ols',
\ 'lsp': 'stdio',
\ 'executable_callback': 'ale#handlers#ols#GetExecutable',
\ 'command_callback': 'ale#handlers#ols#GetCommand',
\ 'executable': function('ale#handlers#ols#GetExecutable'),
\ 'command': function('ale#handlers#ols#GetCommand'),
\ 'language_callback': 'ale#handlers#ols#GetLanguage',
\ 'project_root_callback': 'ale#handlers#ols#GetProjectRoot',
\ 'project_root': function('ale#handlers#ols#GetProjectRoot'),
\})