- 
                Notifications
    You must be signed in to change notification settings 
- Fork 112
Open
Description
Expected behavior
When using :managed-dependencies in a leiningen project, the :dependencies section is dropped
while using cljr-sort-project-dependencies instead of being sorted
Steps to reproduce the problem
Assuming this project.clj file:
(defproject superfun/happyslide "1.0.0-SNAPSHOT"
  :description "A Clojure project with managed dependencies"
  :min-lein-version  "2.7.0"
  :managed-dependencies [[clj-time "0.12.0"]
                         [me.raynes/fs "1.4.6"]
                         [ring/ring-codec "1.0.1"]]
  :dependencies [[clj-time]
                 [me.raynes/fs]])After: M-x cljr-sort-project-dependencies
Buffer is updated as follow:
(defproject superfun/happyslide "1.0.0-SNAPSHOT"
  :description "A Clojure project with managed dependencies"
  :min-lein-version  "2.7.0"
  :managed-dependencies [[clj-time "0.12.0"]
                         [me.raynes/fs "1.4.6"]
                         [ring/ring-codec "1.0.1"]]
  :dependencies )Environment & Version information
clj-refactor.el version information
clj-refactor 2.5.1 (package: 20210628.1154), refactor-nrepl 2.5.1
CIDER version information
;; CIDER 1.2.0snapshot (package: 20210812.654), nREPL 0.9.0-beta1
;; Clojure 1.8.0, Java 1.8.0_302Leiningen or Boot version
Leiningen 2.9.5 on Java 1.8.0_302 OpenJDK 64-Bit Server VM GraalVM CE 20.3.3
Emacs version
GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-09
Operating system
Linux 5.15.25-gentoo x86_64
Metadata
Metadata
Assignees
Labels
No labels