Skip to content

Commit

Permalink
Add :inhibit-cider-middleware middleware conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed Aug 22, 2017
1 parent d5e3b0f commit 055d282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cider/nrepl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
`(do
(defn ~name ~doc [~'h]
(fn [~'msg]
(if ~cond
(if (and ~cond (not (:inhibit-cider-middleware ~'msg)))
(run-delayed-handler ~handler-fn ~'h ~'msg)
(~'h ~'msg))))
(set-descriptor! #'~name ~descriptor))))
Expand Down

0 comments on commit 055d282

Please sign in to comment.