greglook / cljstyle

A tool for formatting Clojure code
Eclipse Public License 1.0
293 stars 39 forks source link

cljstyle removes comments in (ns ...) #56

Closed saitouena closed 3 years ago

saitouena commented 4 years ago
(ns hoge
  ;; require start
  (:require
   [java-time :as jt])
  ;; import start
  (:import
   (java.sql
    Timestamp)
   (java.time
    DateTimeException
    Instant
    ZonedDateTime)
   (java.time.temporal
    ChronoUnit)))

cljstyle removes ;; import start and ;; require start comment. Is this intended?

frankitox commented 4 years ago

Hi @saitouena! I found the same problem, momentarily you can add :rewrite-namespaces? false to your config.