Skip to content

Commit 7edb6b3

Browse files
committed
[Fix #418] clj-sort-project-dependencies with boot
1 parent adffc6a commit 7edb6b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clj-refactor.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,9 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-sort-project-dep
20922092
(cljr--update-file project-file
20932093
(goto-char (point-min))
20942094
(while (re-search-forward ":dependencies" (point-max) t)
2095-
(forward-char)
2095+
;; Boot has quoted vectors, leiningen does not
2096+
(while (not (looking-at-p "\\["))
2097+
(forward-char))
20962098
(thread-first (buffer-substring-no-properties (point)
20972099
(cljr--point-after 'paredit-forward))
20982100
cljr--get-sorted-dependency-names

0 commit comments

Comments
 (0)