From 883978ece93bd19250d6d7e8b9659b48f23522e2 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 22 Feb 2019 18:05:04 +0000 Subject: #2132 - Replace all uses of foo_callback with foo --- ale_linters/ocaml/ols.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ale_linters/ocaml/ols.vim') diff --git a/ale_linters/ocaml/ols.vim b/ale_linters/ocaml/ols.vim index 077862fc..d8208c52 100644 --- a/ale_linters/ocaml/ols.vim +++ b/ale_linters/ocaml/ols.vim @@ -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'), \}) -- cgit v1.2.3