dhall-mode icon indicating copy to clipboard operation
dhall-mode copied to clipboard

Auto-reformatting nukes comments

Open fosskers opened this issue 7 years ago • 2 comments

I'm loving dhall-mode so far, thank you for it. The auto-reformatting is very convenient, but I've noticed that it's a bit over-zealous when it comes to comments. Comments at the very top of the file seem to stick around, but formatting will remove any others. This makes it hard to annotate type fields, etc.

Is there any way around this? Thank you.

fosskers avatar Jan 22 '19 18:01 fosskers

Related issue: https://github.com/dhall-lang/dhall-haskell/issues/145

psibi avatar Jan 23 '19 04:01 psibi

Ah, thanks @psibi !

fosskers avatar Jan 23 '19 16:01 fosskers