Just learned that neovim supports:
let g:clojure_fuzzy_indent = 1
let g:clojure_fuzzy_indent_patterns = ['^with', '^def', '^let', '^box', '^h-box', '^v-box', '^fn\*', '^when-']
So that the body args of forms that start with when- will not be aligned to the first arg. I'm looking at the config docs and found:
{:cljfmt {:indents {foo [[:block 0]]}}}
So may an equivalent is possible?Thinking it would be like:
{:cljfmt {:extra-indents {#re "^with" [[:inner 0]]
#re "^def" [[:inner 0]]
#re "^let" [[:inner 0]]
#re "^box" [[:inner 0]]
#re "^h-box" [[:inner 0]]
#re "^v-box" [[:inner 0]]
#re "^fn\*" [[:inner 0]]
#re "^when-" [[:inner 0]]}}}Awesome! That did it
{:cljfmt {:extra-indents {#re "^with" [[:inner 0]]
#re "^def" [[:inner 0]]
#re "^let" [[:inner 0]]
#re "^box" [[:inner 0]]
#re "^h-box" [[:inner 0]]
#re "^v-box" [[:inner 0]]
#re "^fn\\*" [[:inner 0]]
#re "^when-" [[:inner 0]]}}}Cool, never needed that, but makes sense