mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-25 08:48:45 +08:00
add helpers to quickly write beautiful code
This commit is contained in:
@@ -1,5 +1,40 @@
|
||||
version = 3.6.0
|
||||
runner.dialect = scala212
|
||||
align.preset = some
|
||||
maxColumn = 120
|
||||
align.tokens."+" = [
|
||||
{
|
||||
code = "="
|
||||
owners = [{
|
||||
regex = "Defn\\.Val"
|
||||
}]
|
||||
}
|
||||
{
|
||||
code = ":="
|
||||
owners = [{
|
||||
regex = "Term\\.ApplyInfix"
|
||||
parents = ["Term\\.Block|Template"]
|
||||
}]
|
||||
}
|
||||
{
|
||||
code = "#="
|
||||
owners = [{
|
||||
regex = "Term\\.ApplyInfix"
|
||||
parents = ["Term\\.Block|Template"]
|
||||
}]
|
||||
}
|
||||
{
|
||||
code = "port"
|
||||
owners = [{
|
||||
regex = "Term\\.ApplyInfix"
|
||||
parents = ["Defn\\.Val"]
|
||||
}]
|
||||
}
|
||||
{
|
||||
code = "->"
|
||||
owners = [{
|
||||
regex = "Term\\.ApplyInfix"
|
||||
}]
|
||||
}
|
||||
]
|
||||
docstrings.wrap = no
|
||||
docstrings.oneline = fold
|
||||
|
||||
Reference in New Issue
Block a user