diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-22 18:05:04 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-22 18:05:04 +0000 |
commit | 883978ece93bd19250d6d7e8b9659b48f23522e2 (patch) | |
tree | 8ac9417b7c980906295745cc5ea709b91a789390 /ale_linters/eruby | |
parent | f53b25d2567a2f7495dab444680596f48de427d1 (diff) | |
download | ale-883978ece93bd19250d6d7e8b9659b48f23522e2.zip |
#2132 - Replace all uses of foo_callback with foo
Diffstat (limited to 'ale_linters/eruby')
-rw-r--r-- | ale_linters/eruby/erb.vim | 2 | ||||
-rw-r--r-- | ale_linters/eruby/erubis.vim | 2 | ||||
-rw-r--r-- | ale_linters/eruby/ruumba.vim | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ale_linters/eruby/erb.vim b/ale_linters/eruby/erb.vim index 61d97032..f3438320 100644 --- a/ale_linters/eruby/erb.vim +++ b/ale_linters/eruby/erb.vim @@ -19,7 +19,7 @@ call ale#linter#Define('eruby', { \ 'aliases': ['erubylint'], \ 'executable': 'erb', \ 'output_stream': 'stderr', -\ 'command_callback': 'ale_linters#eruby#erb#GetCommand', +\ 'command': function('ale_linters#eruby#erb#GetCommand'), \ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors', \}) diff --git a/ale_linters/eruby/erubis.vim b/ale_linters/eruby/erubis.vim index 1ebd4a05..755c5803 100644 --- a/ale_linters/eruby/erubis.vim +++ b/ale_linters/eruby/erubis.vim @@ -18,6 +18,6 @@ call ale#linter#Define('eruby', { \ 'name': 'erubis', \ 'executable': 'erubis', \ 'output_stream': 'stderr', -\ 'command_callback': 'ale_linters#eruby#erubis#GetCommand', +\ 'command': function('ale_linters#eruby#erubis#GetCommand'), \ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors', \}) diff --git a/ale_linters/eruby/ruumba.vim b/ale_linters/eruby/ruumba.vim index 24f112e4..e68bb51d 100644 --- a/ale_linters/eruby/ruumba.vim +++ b/ale_linters/eruby/ruumba.vim @@ -56,7 +56,7 @@ endfunction call ale#linter#Define('eruby', { \ 'name': 'ruumba', -\ 'executable_callback': ale#VarFunc('eruby_ruumba_executable'), -\ 'command_callback': 'ale_linters#eruby#ruumba#GetCommand', +\ 'executable': {b -> ale#Var(b, 'eruby_ruumba_executable')}, +\ 'command': function('ale_linters#eruby#ruumba#GetCommand'), \ 'callback': 'ale_linters#eruby#ruumba#Handle', \}) |