Nimpretty Fix negative indent breaks code (#13580)
This commit is contained in:
parent
9fa070b1dc
commit
0809098971
2 changed files with 3 additions and 2 deletions
|
|
@ -44,8 +44,8 @@ proc writeVersion() =
|
|||
|
||||
type
|
||||
PrettyOptions = object
|
||||
indWidth: int
|
||||
maxLineLen: int
|
||||
indWidth: Natural
|
||||
maxLineLen: Positive
|
||||
|
||||
proc prettyPrint(infile, outfile: string, opt: PrettyOptions) =
|
||||
var conf = newConfigRef()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue