Closed smondet closed 5 years ago
Can't reproduce: what version are you using ? Do you have any specific config (see ocp-indent --print-config
)
$ ocp-indent --version
1.5.3
$ ocp-indent --print-config
base = 2
type = 2
in = 0
with = 0
match_clause = 2
ppx_stritem_ext = 2
max_indent = 4
strict_with = never
strict_else = always
strict_comments = false
align_ops = true
align_params = auto
Oh I also have within emacs: (setq ocp-indent-config "strict_with=always,with=0")
Not sure whether it's related to https://github.com/OCamlPro/ocp-indent/issues/224.
When there is an attribute without payload, a big indent is added on the next line. When the attribute has an argument everything is normal.
(
[@main]
comes fromppx_deriving.make
).