Refactor jobs into a Vim version agnostic API which can be used for other purposes

This commit is contained in:
w0rp
2017-05-12 21:16:15 +01:00
parent 2bafdb7e5a
commit 5a947933d7
8 changed files with 280 additions and 254 deletions
+2 -1
View File
@@ -11,11 +11,12 @@ Before:
\}]
endfunction
" Running the command in another subshell seems to help here.
call ale#linter#Define('foobar', {
\ 'name': 'testlinter',
\ 'callback': 'TestCallback',
\ 'executable': 'echo',
\ 'command': 'echo foo bar',
\ 'command': '/bin/sh -c ''echo foo bar''',
\})
After: