avh4/elm-format

Backslash prepended to underscores in comments

開放

#587 建立於 2018年12月24日

 (2 則留言) (0 個反應) (0 位負責人)Haskell (147 個分叉)batch import
help wanted

倉庫指標

星標
 (1,333 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南