summaryrefslogtreecommitdiff
path: root/ale_linters/clojure
diff options
context:
space:
mode:
authormorrifeldman <morrifeldman@gmail.com>2018-07-25 15:53:02 -0400
committerGitHub <noreply@github.com>2018-07-25 15:53:02 -0400
commit845e588b71b8d21fe19c6b04c890cff26419a0a9 (patch)
treeaef8868b19289554dc350f456c4636fc8e429809 /ale_linters/clojure
parent0012c78b024354686dffd693d135686378fecdc5 (diff)
downloadale-845e588b71b8d21fe19c6b04c890cff26419a0a9.zip
Fix joker finding .joker file
Add --working-dir option so joker can find a .joker file in the project root directory.
Diffstat (limited to 'ale_linters/clojure')
-rw-r--r--ale_linters/clojure/joker.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/clojure/joker.vim b/ale_linters/clojure/joker.vim
index e78066fe..7a3330a8 100644
--- a/ale_linters/clojure/joker.vim
+++ b/ale_linters/clojure/joker.vim
@@ -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',
\})