Adopt elm file headers to match elm-format

This commit is contained in:
eikek 2021-07-25 13:59:48 +02:00
parent 42b37df6a1
commit 8545637a8f

View File

@ -88,7 +88,7 @@ val elmSettings = Seq(
Compile / unmanagedSourceDirectories += (Compile / sourceDirectory).value / "elm", Compile / unmanagedSourceDirectories += (Compile / sourceDirectory).value / "elm",
headerSources / includeFilter := "*.elm", headerSources / includeFilter := "*.elm",
headerMappings := headerMappings.value + (HeaderFileType("elm") -> HeaderCommentStyle( headerMappings := headerMappings.value + (HeaderFileType("elm") -> HeaderCommentStyle(
new CommentBlockCreator("{-", " ", "-}"), new CommentBlockCreator("{-", " ", "-}\n"),
HeaderPattern.commentBetween("\\{\\-", " ", "\\-\\}") HeaderPattern.commentBetween("\\{\\-", " ", "\\-\\}")
)) ))
) )