vim

For discussion on all things (neo)vim.
2021-02-16T09:39:45.102900Z

Timofey Sitnikov 2021-02-16T11:23:34.103500Z

@dev964, you make me wonder what it means?

2021-02-16T11:25:04.103800Z

seems that NeoVim 0.5 release is near

2021-02-16T11:25:32.104500Z

from what I remember their previous releases were around Christmas

orestis 2021-02-16T13:21:19.105200Z

@clojurians-slack100 Sorry to say but I gave up on these aligned things, they seem nice at the beginning but make diffs hard to read and generally a PITA šŸ˜ž

1
dharrigan 2021-02-16T13:26:23.105400Z

I don't align either.

dharrigan 2021-02-16T13:26:28.105600Z

I'm misaligned šŸ™‚

dharrigan 2021-02-16T13:27:25.106200Z

I thought about lining up maps, but in the end, I just go with the flow

snoe 2021-02-16T18:11:17.107100Z

lets and maps aren't tabular data, alignment never made sense to me.

2021-02-16T18:32:13.107400Z

maybe people think of them as two column tables?

2021-02-16T18:32:45.107900Z

I mean, I always put two per line, because they do pair up with left and right having distinct meanings

dave 2021-02-16T19:01:08.108200Z

^That's exactly how I think of them. I like seeing keys on the left and values on the right.

walterl 2021-02-16T19:40:00.109500Z

It's undoubtedly easier to read when they're aligned. Especially in destructuring let binding blocks (and similar). But @orestis is šŸ’Æ % correct about the practical problems with doing so.

walterl 2021-02-16T19:40:47.110200Z

Regardless, I'm in a code base where they're aligned, so my hands are tied šŸ˜œ

dave 2021-02-16T20:03:50.111200Z

I'm in the habit of reviewing git diffs with the -w flag to ignore lines where the only change is whitespace, and on GitHub with the ?w=1 query param which does the same thing. Once you know how to do that, it's easy to filter out the noise that comes with aggressive whitespace adjustments.

walterl 2021-02-17T19:50:12.112900Z

That's what all the IDE guys keep saying :troll:

orestis 2021-02-18T10:41:05.115Z

Iā€™m using vim fugitive for my own stuff but GitHub to review PRs :) alternative suggestions welcome!

walterl 2021-02-18T18:24:56.116200Z

Yeah, me too šŸ˜›

dave 2021-02-16T20:04:50.111900Z

(Which I think is a useful tip, regardless of your philosophy on vertically aligning let bindings, maps, etc.!)

walterl 2021-02-16T20:50:55.112Z

> on GitHub with the ?w=1 query param This is a game changer, thanks @dave! :bananadance:

1