Fork me on GitHub
#vim
<
2017-08-03
>
jebberjeb14:08:55

@dominicm fun project for the day: finally getting around to setting up zprint. Looking at the docs now.

jebberjeb14:08:03

@dominicm Hrm, I don't want to wait 1.5 seconds 😞

jebberjeb14:08:35

Should I just add it to socketrepl.nvim and call it directly, rather than going through the CLI?

dominicm15:08:53

@jebberjeb you shouldn't be waiting 1.5s?

jebberjeb15:08:13

Oh, I didn't actually try it. That's just from the zprint-filter doc.

dominicm15:08:36

Oh, yes... :thinking_face: I swear it wasn't that slow for me.

dominicm15:08:56

lumo was fast enough for me.

dominicm15:08:11

but noticably slow on whole files.

jebberjeb15:08:14

ok cool, maybe I'll give Lumo a try

jebberjeb15:08:27

that's cool 99% of the time I'd use it would be on an expression

jebberjeb15:08:48

I find myself constantly formatting and re-formatting at the sub-function level

dominicm15:08:06

yeah, & I found that to be fast enough for me. Appcds might be the best way to do it.

jebberjeb15:08:56

You're right, that's not bad at all. I just used the simple instructions to setup za. If I'm waiting a second, I don't feel it.

dominicm16:08:47

yeah, that's why I was surprised. Maybe it was a particularly crazy 50-loc function (gotta be to make the benchmarking worth it I guess)