cljfmt-compatible ns form formatting
jsn opened this issue · 1 comments
jsn commented
Hello,
Currently indent/clojure.vim indents subforms of (ns ...) with 2-spaces, like this:
(ns ncr.nsql.simple
(:require
[clojure.string :as str]
[clojure.core.match :refer [match]]
while the style guide seemingly recommends, and cljfmt indents, the same subforms with 1-space (paren-aligned), like this:
(ns ncr.nsql.simple
(:require
[clojure.string :as str]
[clojure.core.match :refer [match]]
Would you consider accepting a patch that adds optional, off-by-default ability to format those like cljfmt does it?
axvr commented
I don't have the time right now to add it myself, but I would definitely accept a patch to add this as an option.