Make it easier to remove command_chain support later

This commit is contained in:
w0rp
2019-02-13 17:53:01 +00:00
parent 1ee56713b8
commit 21a8b9f1e3
2 changed files with 43 additions and 17 deletions

View File

@@ -34,7 +34,10 @@ Before:
\}
function! ProcessIndex(chain_index)
return ale#engine#ProcessChain(347, g:linter, a:chain_index, [])
let [l:command, l:options] = ale#engine#ProcessChain(347, '', g:linter, a:chain_index, [])
let l:options.command = l:command
return l:options
endfunction
After: