#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
+1 -1
View File
@@ -3,7 +3,7 @@
call ale#linter#Define('sml', {
\ 'name': 'smlnj',
\ 'executable_callback': 'ale#handlers#sml#GetExecutableSmlnjFile',
\ 'executable': function('ale#handlers#sml#GetExecutableSmlnjFile'),
\ 'command': 'sml',
\ 'callback': 'ale#handlers#sml#Handle',
\})
+2 -2
View File
@@ -12,9 +12,9 @@ endfunction
call ale#linter#Define('sml', {
\ 'name': 'smlnj_cm',
\ 'aliases': ['smlnj-cm'],
\ 'executable_callback': 'ale#handlers#sml#GetExecutableSmlnjCm',
\ 'executable': function('ale#handlers#sml#GetExecutableSmlnjCm'),
\ 'lint_file': 1,
\ 'command_callback': 'ale_linters#sml#smlnj_cm#GetCommand',
\ 'command': function('ale_linters#sml#smlnj_cm#GetCommand'),
\ 'callback': 'ale#handlers#sml#Handle',
\})