avh4/elm-format

Backslash prepended to underscores in comments

Open

#587 创建于 2018年12月24日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Haskell (1,329 star) (148 fork)batch import
help wanted

描述

I have a type alias definition in the following form:

{-| represents a diary, as returned by the endpoint api/get_diary.
 -}

type alias Diary =
     { notes : String
     , pages : Int     
     }

Elm-format converts the comment to the following:

{-| represents a diary, as returned by the endpoint api/get\_diary.
 -}

I understand the usefulness of such rule in the code - but it should be ignored in comments.

贡献者指南