Skip to content

Keep the #_ uneval tag untouched #380

@igrishaev

Description

@igrishaev

Hi! This is crosspost from a Slack channel:

How can I control the #_ tag? Imagine a have a h-u-u-ge form that I'd like to ignore. For this, I just put #_ on a previous line:

#_
(defn foobar []
 (do-this)
 (let [...]
    (with-blah []
      ...)))

But cljfmt corrects it in this way:

#_(defn foobar []
   (do-this)
   (let [...]
      (with-blah []
        ...)))

This is quite annoying because it leads to vast git changes. I tried to find an option to disable it but could not. Is there any?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions