Fork me on GitHub
#vim
<
2021-02-16
>
Timofey Sitnikov11:02:34

@dev964, you make me wonder what it means?

Aleksander11:02:04

seems that NeoVim 0.5 release is near

Aleksander11:02:32

from what I remember their previous releases were around Christmas

orestis13:02:19

@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 😞

truestory 3
dharrigan13:02:23

I don't align either.

dharrigan13:02:28

I'm misaligned 🙂

dharrigan13:02:25

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

snoe18:02:17

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

noisesmith18:02:13

maybe people think of them as two column tables?

noisesmith18:02:45

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

dave19:02:08

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

walterl19:02:00

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.

walterl19:02:47

Regardless, I'm in a code base where they're aligned, so my hands are tied 😜

dave20:02:50

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.

walterl20:02:55

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

bananadance 3
orestis04:02:09

I think there’s also a ui for this

walterl19:02:12

That's what all the IDE guys keep saying troll

orestis10:02:05

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

walterl18:02:56

Yeah, me too 😛

dave20:02:50

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