Skip to content

Commit

Permalink
Rename hook for Cursive
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 21, 2021
1 parent f0d353c commit 784f2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
, (recur pairs (conj new-body lhs rhs))))
(api/list-node new-body))))

(def cond
(def cond-hook
(fn [{:keys [:node]}]
(let [expr (let [args (rest (:children node))
pairs (partition-all 2 args)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{:hooks
{:analyze-call {better-cond.core/cond better-cond.core/cond}}
{:analyze-call {better-cond.core/cond better-cond.core/cond-hook}}
:lint-as
{better-cond.core/if-let clojure.core/let
better-cond.core/when-let clojure.core/when-let}}

0 comments on commit 784f2b5

Please sign in to comment.