summaryrefslogtreecommitdiff
path: root/ale_linters/less/lessc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/less/lessc.vim')
-rwxr-xr-xale_linters/less/lessc.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/less/lessc.vim b/ale_linters/less/lessc.vim
index 37600649..4ec8b00e 100755
--- a/ale_linters/less/lessc.vim
+++ b/ale_linters/less/lessc.vim
@@ -38,10 +38,10 @@ endfunction
call ale#linter#Define('less', {
\ 'name': 'lessc',
-\ 'executable_callback': ale#node#FindExecutableFunc('less_lessc', [
+\ 'executable': {b -> ale#node#FindExecutable(b, 'less_lessc', [
\ 'node_modules/.bin/lessc',
-\ ]),
-\ 'command_callback': 'ale_linters#less#lessc#GetCommand',
+\ ])},
+\ 'command': function('ale_linters#less#lessc#GetCommand'),
\ 'callback': 'ale_linters#less#lessc#Handle',
\ 'output_stream': 'stderr',
\})