emacs

Samuel Ludwig 2026-05-04T15:11:32.425389Z

For a bit now my emacs has been mucking up my indentation whenever I do a new-line in a name-spaced map, and I'm having difficulty pinning down where its coming from For example, with both meow and parinfer-rust-mode disabled for testing purposes, and | representing my cursor:

#:hello{:one 2
        :two 3|
        :four 5}
When I hit , it results in the following indentation
#:hello{:one 2
 :two 3
|
        :four 5}
(parinfer obviously struggles with this when its enabled, and will instead leave the closing bracket after the 2, and all the other borked indentation remains) The following are all indentation settings I have in my emacs configs (that I know of)
(setopt ;; Non treesit formatting opts (Tonksy Indents) (for when im in an environment where TS is unhappy)
          clojure-indent-style 'always-indent
          clojure-indent-keyword-style 'always-indent
          clojure-enable-indent-specs nil
          ;; Treesit formatting opts (Tonksy Indents)
          clojure-ts-toplevel-inside-comment-form t
          clojure-ts-indent-style 'fixed)
I do also have a .cljfmt.edn in the project with {:indents ^:replace {#"^\w" [[:inner 0]]}} Anyone experience this before/have a theory of what else might be influencing my indentation? (My current setup does not use paredit or lispy-mode, which would otherwise be my prime suspects.)