#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
+2 -2
View File
@@ -22,7 +22,7 @@ endfunction
call ale#linter#Define('sass', {
\ 'name': 'sasslint',
\ 'executable_callback': 'ale_linters#sass#sasslint#GetExecutable',
\ 'command_callback': 'ale_linters#sass#sasslint#GetCommand',
\ 'executable': function('ale_linters#sass#sasslint#GetExecutable'),
\ 'command': function('ale_linters#sass#sasslint#GetCommand'),
\ 'callback': 'ale#handlers#css#HandleCSSLintFormat',
\})
+2 -2
View File
@@ -5,9 +5,9 @@ call ale#Set('sass_stylelint_use_global', get(g:, 'ale_use_global_executables',
call ale#linter#Define('sass', {
\ 'name': 'stylelint',
\ 'executable_callback': ale#node#FindExecutableFunc('sass_stylelint', [
\ 'executable': {b -> ale#node#FindExecutable(b, 'sass_stylelint', [
\ 'node_modules/.bin/stylelint',
\ ]),
\ ])},
\ 'command': '%e --stdin-filename %s',
\ 'callback': 'ale#handlers#css#HandleStyleLintFormat',
\})