summary refs log tree commit diff stats
path: root/nimpretty
Commit message (Collapse)AuthorAgeFilesLines
* Add directory input support to nimpretty (#23590)Mads Hougesen2024-05-101-1/+7
| | | Feel free to close if this an unwanted addition :)
* nimpretty: check the rendered AST for wrong output (#23057)Andreas Rumpf2023-12-131-2/+40
|
* Markdown code blocks migration part 8 (#22478)Andrey Makarov2023-08-152-10/+10
|
* some Token refactors (#21762)metagn2023-05-062-2/+2
| | | | | | | | | | | | | | | * test some Token refactors * fix CI * showcase for more reductions, will revert * Revert "showcase for more reductions, will revert" This reverts commit 5ba48591f4d53e8d83a27de8b03d26c6178dd3d1. * make line and column int32 * remove int32 change
* refactor strongSpaceB with an enum (#20809)ringabout2022-11-102-2/+2
| | | refactor strongSpaceB
* fixes #15688; handle `strongSpace` overflow issues (#20724)ringabout2022-11-032-2/+2
| | | | | | | * fixes #15688; handle `strongSpace` overflow issues * stop at 1 * change the type of strongSpaceA to bool
* fixes #20553; don't format code for stropping identifier (#20561) [backport]ringabout2022-10-132-0/+22
| | | | | | | * fixes #20553; don't format code for stropping identifier * add tests * Update nimpretty/tests/expected/simple.nim
* fixed typos (#19316)Smarcy2022-01-031-2/+2
|
* gitutils: add diffStrings, diffFiles, and use it in testament to compare ↵Timothee Cour2021-04-301-2/+3
| | | | | | | | | | | | | expected vs gotten (#17892) * gitutils: add diffStrings, diffFiles, and use it in testament to compare expected vs gotten * refactor with createTempDir * cleanup * refacotr * PRTEMP fake test spec changes to show effect of diffStrings * add runnableExamples for experimental/diff + cross-reference with gitutils * Revert "PRTEMP fake test spec changes to show effect of diffStrings" This reverts commit 57dc8d642dce6c1127c98b7cbc9edbfe747d4047.
* improve nimsuggest/tester, minor improvements to koch.nim (#17879)Timothee Cour2021-04-291-1/+1
| | | | | * improve nimsuggest/tester * koch improvements
* fix #12155, improve nimpretty's handling of pragmas (#17353)Miran2021-03-122-0/+9
|
* use typeof instead type (#16962)flywind2021-02-082-6/+6
|
* export PrettyOptions,prettyPrint from nimpretty (#15865)Bung2020-11-091-5/+6
|
* Fix commentOffsetA for doc comments (#15643)Clyybber2020-10-202-0/+10
|
* nimpretty: do not produce 'line too long' messages (#15541)Andreas Rumpf2020-10-101-3/+0
|
* Big compiler Cleanup (#14777)Clyybber2020-08-281-6/+6
|
* nimpretty support for multiple files (#14890)Alexander Wolfe2020-07-122-16/+65
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-1/+1
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* fix #14401, trailing comma confuses nimpretty (#14867)Miran2020-07-012-1/+43
|
* Deprecate and/or remove ospaths (#14767)Juan Carlos2020-06-232-2/+2
|
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-282-2/+2
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* fix nimpretty warning (#13700)Jasper Jenkins2020-03-201-2/+1
|
* Nimpretty Fix negative indent breaks code (#13580)Juan Carlos2020-03-041-2/+2
|
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-171-1/+0
| | | | a few magic numbers with consts (#13170)
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-272-2/+2
|
* nimpretty: fix #11937 (wrong indentation)narimiran2019-08-193-1/+77
|
* cosmetic improvementsnarimiran2019-08-191-2/+1
| | | | | * remove unused imports * make 'openPars' and 'closedPars' more readable
* nimpretty: fixes #11616Araq2019-07-182-0/+72
|
* nimpretty: fixes #11699Araq2019-07-182-0/+55
|
* [refactoring] nimprettyAraq2019-07-181-2/+2
|
* nimpretty: implement a --maxLineLen command line optionAraq2019-07-121-1/+6
|
* nimpretty: fix #11700, no extra newlines (#11714)Miran2019-07-122-0/+40
|
* minor style changesAraq2019-07-111-1/+1
|
* nimpretty: more comment indentation fixesnarimiran2019-07-092-0/+26
|
* nimpretty: more improvementsAraq2019-07-092-0/+90
|
* nimpretty: yet another improvementAraq2019-07-092-0/+20
|
* nimpretty: don't introduce extra spaces after a colon or a comma (#11672)Miran2019-07-072-130/+136
|
* nimpretty: improved detection of commas and semicolons (#11661)Miran2019-07-062-0/+4
| | | | | | * nimpretty: improved detection of commas and semicolons * address the comments
* nimpretty: don't touch formatted multiline comments (#11663)Miran2019-07-052-4/+60
|
* nimpretty: relax line length rules when dealing with (inline) comments (#11657)Miran2019-07-053-5/+29
|
* [bugfix] fix wrong nimpretty unidents, refs #11616 (#11645)Miran2019-07-032-0/+25
|
* [bugfix] nimpretty indents multiline comments correctly (#11607)Miran2019-07-022-0/+38
|
* nimpretty: bugfix [bugfix]Araq2019-06-282-0/+78
|
* [bugfix] fix #11469, new rules for a newline in nimpretty (#11512)Miran2019-06-264-18/+36
| | | | | * [bugfix] fix #11469, new rules for a newline in nimpretty * concatenate two lines if they have the same indentation level
* [bugfix] nimpretty: better alignment; fixes #11467Araq2019-06-142-0/+350
|
* [bugfix] nimpretty: fixes #11470Araq2019-06-132-0/+30
|
* [bugfix] nimpretty: fixes #11468Araq2019-06-132-0/+16
|
* [bugfix] fix nimpretty for absolute paths (#11480)Jasper Jenkins2019-06-121-1/+3
|
* nimpretty: smart tabs support, fixes #9399 [bugfix]Andreas Rumpf2019-06-104-14/+35
|
* nimpretty: fixes #10156 [bugfix]Andreas Rumpf2019-06-082-0/+98
|