anweiss / cddl

Concise data definition language (RFC 8610) implementation and JSON and CBOR validator in Rust
https://cddl.anweiss.tech
MIT License
90 stars 12 forks source link

Formatting inserts a blank line after each comment unconditionally #123

Open na-sa-do opened 2 years ago

na-sa-do commented 2 years ago

With repeated formatting, this:

; hello
world = "hello world"

becomes this:

; hello

world = "hello world"

and then this:

; hello

world = "hello world"

and so on.

anweiss commented 2 years ago

Thanks @na-sa-do. Indeed, this is a known issue per https://github.com/anweiss/cddl/issues/55. Formatting in general is still a WIP.