6502-opcodes/.scalafmt.conf
2023-07-06 13:34:03 -04:00

41 lines
772 B
Plaintext

version = "3.7.7"
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
docstrings = ScalaDoc
docstrings.blankFirstLine = yes
includeNoParensInSelectChains = true
optIn.breakChainOnFirstMethodDot = true