Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Multi line @moduledoc formatted to one line #63

Closed
iacobson opened this issue Aug 18, 2017 · 1 comment
Closed

Multi line @moduledoc formatted to one line #63

iacobson opened this issue Aug 18, 2017 · 1 comment

Comments

@iacobson
Copy link

Using exfmt on neovim with neoformat.

When formatting a file with a multi line @moduledoc it gets reformatted to a huge single line, separated with \n.

eg.

@moduledoc """
My module
documentation
"""

will become

@moduledoc " My module \ndocumentation"

Should this be the standard behaviour? Thank you.

@lpil
Copy link
Owner

lpil commented Aug 18, 2017

Hiya

Thanks for trying out exfmt :)

Currently the output style is a work in progress. Heredoc preservation is implemented on the master branch, but is currently unreleased. https://github.com/lpil/exfmt/blob/master/CHANGELOG.md#unreleased

Cheers,
Louis

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants