mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-26 02:08:44 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
@@ -49,6 +49,6 @@ endfunction
|
||||
call ale#linter#Define('tex', {
|
||||
\ 'name': 'chktex',
|
||||
\ 'executable': 'chktex',
|
||||
\ 'command_callback': 'ale_linters#tex#chktex#GetCommand',
|
||||
\ 'command': function('ale_linters#tex#chktex#GetCommand'),
|
||||
\ 'callback': 'ale_linters#tex#chktex#Handle'
|
||||
\})
|
||||
|
||||
@@ -37,7 +37,7 @@ endfunction
|
||||
|
||||
call ale#linter#Define('tex', {
|
||||
\ 'name': 'lacheck',
|
||||
\ 'executable_callback': ale#VarFunc('tex_lacheck_executable'),
|
||||
\ 'executable': {b -> ale#Var(b, 'tex_lacheck_executable')},
|
||||
\ 'command': '%e %t',
|
||||
\ 'callback': 'ale_linters#tex#lacheck#Handle'
|
||||
\})
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
call ale#linter#Define('tex', {
|
||||
\ 'name': 'textlint',
|
||||
\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
|
||||
\ 'command_callback': 'ale#handlers#textlint#GetCommand',
|
||||
\ 'executable': function('ale#handlers#textlint#GetExecutable'),
|
||||
\ 'command': function('ale#handlers#textlint#GetCommand'),
|
||||
\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user