Skip to content

Commit

Permalink
Merge pull request #20 from borkdude/master
Browse files Browse the repository at this point in the history
[#5] Rename hook for Cursive
  • Loading branch information
Engelberg authored Dec 22, 2021
2 parents f0d353c + 784f2b5 commit f1b3af1
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 f1b3af1

Please sign in to comment.