Fix joker finding .joker file

Add --working-dir option so joker can find a .joker file in the project root directory.
This commit is contained in:
morrifeldman 2018-07-25 15:53:02 -04:00 committed by GitHub
parent 0012c78b02
commit 845e588b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,6 @@ call ale#linter#Define('clojure', {
\ 'name': 'joker',
\ 'output_stream': 'stderr',
\ 'executable': 'joker',
\ 'command': 'joker --lint %t',
\ 'command': 'joker --working-dir %s --lint %t',
\ 'callback': 'ale_linters#clojure#joker#HandleJokerFormat',
\})