Fabian Homborg
b25f72f391
Teach fish_indent to remove useless quotes
...
This tries to see if quotes guard some expansion from happening. If it
detects a "weird" character it'll leave the quotes in place, even in
some cases where it might not trigger.
So
for i in 'c' 'color'
turns into
for i in c color
The rationale here is that these quotes are useless, wasting
space (and line length), but more importantly that they are
superstitions. They don't do anything, but look like they do.
The counter argument is that they can be kept in case of later
changes, or that they make the intent clear - "this is supposed to be
a string we pass".
2020-03-09 19:46:43 +01:00
..
2020-03-02 14:01:59 -08:00
2020-01-22 17:40:31 +01:00
2017-02-20 20:29:43 -08:00
2020-03-08 23:28:37 -07:00
2020-03-08 23:28:37 -07:00
2020-03-08 23:28:37 -07:00
2020-03-07 13:31:55 -08:00
2020-03-07 13:31:55 -08:00
2019-11-01 13:21:49 +01:00
2019-11-01 13:21:49 +01:00
2019-11-01 13:21:49 +01:00
2019-09-14 12:46:57 -07:00
2017-01-24 15:24:13 -08:00
2017-01-24 15:24:13 -08:00
2019-10-06 13:43:05 -07:00
2019-10-06 13:43:05 -07:00
2019-04-11 21:59:23 -07:00
2020-02-13 01:08:35 -08:00
2016-06-26 21:51:00 -07:00
2016-06-30 20:49:56 -07:00
2018-04-01 13:48:21 -07:00
2018-12-11 18:23:37 +01:00
2019-06-28 11:16:27 -07:00
2017-06-30 17:13:02 -07:00
2017-06-30 17:13:02 -07:00
2017-06-30 17:13:02 -07:00
2019-11-07 23:33:35 +01:00
2018-11-20 05:26:54 -08:00
2016-07-20 21:18:48 -07:00
2017-09-15 13:43:45 -07:00
2019-05-24 17:00:56 -07:00
2020-03-09 19:46:43 +01:00
2017-07-25 12:44:26 -07:00
2019-04-07 09:20:32 -07:00
2019-09-19 15:06:51 -07:00
2019-04-07 15:00:13 -07:00
2019-04-07 09:20:32 -07:00
2019-04-07 09:20:32 -07:00
2019-02-24 21:46:52 -08:00
2019-02-24 21:46:52 -08:00
2019-02-24 21:46:52 -08:00
2019-01-01 14:52:26 +01:00
2018-03-09 12:19:20 -06:00
2020-03-03 21:49:15 -08:00
2017-01-24 15:24:13 -08:00
2017-01-24 15:24:13 -08:00
2020-02-08 18:21:05 +01:00
2020-02-08 18:21:05 +01:00
2020-02-08 18:21:05 +01:00
2017-04-11 20:00:29 -07:00
2019-01-01 14:52:26 +01:00
2017-07-17 14:33:51 -07:00
2019-10-19 14:27:47 +02:00
2020-01-13 20:34:22 +01:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2018-12-31 19:36:08 -06:00
2017-11-16 10:48:21 -08:00
2017-11-16 10:48:21 -08:00