formatting-stack icon indicating copy to clipboard operation
formatting-stack copied to clipboard

^:private macros' indentation specs are ignored

Open vemv opened this issue 4 years ago • 0 comments

Brief

Given a defmacro ^:private, out cljfmt integration will fail to read its indentation spec.

Expected behavior

macros' specified indentation is honored

Actual behavior

It's not

Reproduction steps

(self-evident)

Suspected cause

formatting-stack.formatters.cljfmt.impl/namespace-macros uses ns-publics, which ignores private macros.

Environment info

master

vemv avatar Mar 19 '21 12:03 vemv