This commit is contained in:
Mark Canlas 2023-01-02 13:02:03 -05:00
parent 17f6b1fe20
commit ae49cf61d2
6 changed files with 74 additions and 49 deletions

View File

@ -2,12 +2,37 @@ version = "3.6.1"
runner.dialect = "scala3"
align.preset = more
align.tokens = [
{ code = "=" },
{ code = "extends" },
{ code = "//" },
{ code = "<-", owners = ["Enumerator.Generator"] },
{ code = "=", owners = ["(Enumerator.Val|Defn.(Va(l|r)|GivenAlias|Def|Type))"] },
{ code = "=>", owners = ["Case"] },
{ code = "->", owners = ["Term.ApplyInfix"] },
{ code = ":=", owners = ["Term.ApplyInfix"] },
{ code = "%", owners = ["Term.ApplyInfix"] },
{ code = "%%", owners = ["Term.ApplyInfix"] }
]
align.allowOverflow = true,
align.tokenCategory = {
Equals = Assign,
LeftArrow = Assign
}
maxColumn = 120
align.openParenCallSite = false
align.preset = most
docstrings = ScalaDoc
docstrings.blankFirstLine = yes