Araq
4b0de0ca6f
nimpretty: fixes #11616
...
(cherry picked from commit 6d8913ee14 )
2019-07-19 16:47:36 +02:00
Araq
ace3b341a3
nimpretty: fixes #11699
...
(cherry picked from commit 7deb49e992 )
2019-07-19 16:47:36 +02:00
Miran
622eadff52
nimpretty: fix #11700 , no extra newlines ( #11714 )
...
(cherry picked from commit 2f0a50fa51 )
2019-07-15 08:03:53 +02:00
narimiran
da2a149522
nimpretty: more comment indentation fixes
...
(cherry picked from commit 96d49608c0 )
2019-07-15 07:58:26 +02:00
Araq
8afe92a1ab
nimpretty: more improvements
...
(cherry picked from commit eefcea8892 )
2019-07-15 07:58:26 +02:00
Araq
e0b4d034bc
nimpretty: yet another improvement
...
(cherry picked from commit 0193c8ad2e )
2019-07-15 07:58:26 +02:00
Miran
585a08548a
nimpretty: don't introduce extra spaces after a colon or a comma ( #11672 )
...
(cherry picked from commit d0616ed115 )
2019-07-08 11:33:20 +02:00
Miran
a31b3ef3cf
nimpretty: improved detection of commas and semicolons ( #11661 )
...
* nimpretty: improved detection of commas and semicolons
* address the comments
(cherry picked from commit 34c09a98c7 )
2019-07-08 11:28:42 +02:00
Miran
5863461d47
nimpretty: don't touch formatted multiline comments ( #11663 )
...
(cherry picked from commit 176eaf5c90 )
2019-07-08 11:28:42 +02:00
Miran
5689003410
nimpretty: relax line length rules when dealing with (inline) comments ( #11657 )
...
(cherry picked from commit 96a19ea1b4 )
2019-07-08 11:28:42 +02:00
Miran
da3a7b852d
[bugfix] fix wrong nimpretty unidents, refs #11616 ( #11645 )
...
(cherry picked from commit 0718d6c2cd )
2019-07-08 11:27:15 +02:00
Miran
466d5ba060
[bugfix] nimpretty indents multiline comments correctly ( #11607 )
...
(cherry picked from commit c522a455df )
2019-07-02 13:57:12 +02:00
Araq
970c7616bc
nimpretty: bugfix [bugfix]
...
(cherry picked from commit 284a8cb58a )
2019-07-02 13:55:37 +02:00
Miran
38aa7f6d20
[bugfix] fix #11469 , new rules for a newline in nimpretty ( #11512 )
...
* [bugfix] fix #11469 , new rules for a newline in nimpretty
* concatenate two lines if they have the same indentation level
(cherry picked from commit f288e1b11a )
2019-06-27 20:59:46 +02:00
Araq
63116d94ae
[bugfix] nimpretty: better alignment; fixes #11467
...
(cherry picked from commit 57a83df745 )
2019-06-16 17:19:43 +02:00
Araq
21910d6eb1
[bugfix] nimpretty: fixes #11470
...
(cherry picked from commit 165ea46284 )
2019-06-16 17:18:58 +02:00
Araq
7bfde5fa40
[bugfix] nimpretty: fixes #11468
...
(cherry picked from commit af39f26a3a )
2019-06-16 17:18:58 +02:00
Andreas Rumpf
caf93f4355
nimpretty: smart tabs support, fixes #9399 [bugfix]
2019-06-10 10:50:15 +02:00
Andreas Rumpf
9f82e07b2d
nimpretty: fixes #10156 [bugfix]
2019-06-08 00:00:00 +02:00
Araq
12fc1dfb2c
nimpretty: closes #10159 [bugfix]
2019-06-07 13:03:04 +02:00
Araq
667af87e66
nimpretty: fixes #9505 [bugfix]
2019-06-07 12:59:31 +02:00
Araq
790bc5b07b
nimpretty: fixes #10177 [bugfix]
2019-06-07 11:50:56 +02:00
Araq
447cc1ff09
nimpretty: fixes #10295
2019-06-07 10:37:00 +02:00
tofu
a990afcedc
fixes #10200 ( #10950 )
...
* fixes #10200
* add rule for other comparison operators
* add rule for '!='
* add test
* fixed to pass the test
2019-04-04 14:58:54 +02:00
Andreas Rumpf
532647171e
nimpretty: fixes #9673 [backport]
2018-11-11 10:39:20 +01:00
Andreas Rumpf
03005fde99
nimpretty: fixes #9506
2018-10-26 01:53:10 +02:00
Araq
87d60b2a4b
nimpretty: fixes #9500
2018-10-25 11:48:06 +02:00
Araq
0afca3dd6b
nimpretty: fixes #9504
2018-10-25 11:18:03 +02:00
Araq
e7e75224a2
nimpretty: closes #9484
2018-10-24 15:22:28 +02:00
Araq
06a6433db7
nimpretty: test for idempotence; fixes #9483
2018-10-24 15:19:29 +02:00
Araq
3ee53a7c8e
nimpretty: fixes #8078
2018-10-24 00:59:57 +02:00
Araq
e3a0415650
nimpretty: fixes #9398
2018-10-24 00:53:41 +02:00
Araq
72370c8dfa
closes #9400
2018-10-23 17:52:18 +02:00
Araq
695074214b
nimpretty: minor bug fix
2018-10-23 17:52:18 +02:00
Andreas Rumpf
480d228603
nimpretty: added an new simple test
2018-10-16 17:25:12 +02:00
Andreas Rumpf
778e4d1775
nimpretty: fixes #9144
2018-10-16 17:21:41 +02:00
Andreas Rumpf
f3c0703b7d
nimpretty: add #!nimpretty on/off directives
2018-10-16 16:55:04 +02:00
Andreas Rumpf
ed38079b9b
nimpretty: fixes #8626
2018-10-16 16:55:04 +02:00
Andreas Rumpf
89ba0f8592
nimpretty: render r-strings properly, fixes #9236
2018-10-16 13:33:14 +02:00
Araq
5976bd96be
nimpretty: detect '; vs ,' style based on the first usage of the token in parameter lists
2018-06-26 01:43:41 +02:00
Araq
1be82d96a6
nimpretty: bugfixes; refs #8078
2018-06-20 11:35:36 +02:00
Andreas Rumpf
2a662250d4
nimpretty: added more code claimed to not be working
2018-06-20 00:59:01 +02:00
Andreas Rumpf
0725003a8c
nimpretty: fixes more reported issues
2018-06-20 00:56:29 +02:00
Andreas Rumpf
c3090fcb48
nimpretty: don't produce trailing whitespace; fixes the rendering of unary operators
2018-06-19 23:45:11 +02:00
Andreas Rumpf
837d0c7270
nimpretty: proper command line handling; added tests; travis ensures these stay green
2018-06-19 20:06:04 +02:00