conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
2020-07-02T00:45:03.352200Z

Olical 2020-07-02T08:55:00.355200Z

Re the issue opened above: I'm musing about adding two different hard limits on Clojure nREPL output by default that would self document with how to raise or remove them where required. This should guard against accidental printing of the entire universe quite nicely. I think this will be a good addition despite the fact that I've printed things that result in 100k+ lines of output in the log and Neovim + Conjure has handled it okay, even if the syntax highlighting switches off etc.

Olical 2020-07-02T08:56:08.356400Z

Honestly amazed by how much data can be handled by this simple "just dump it in a buffer after running it through some Lua". The less magic I do, the more text it can handle. It's the main reason why I've been pushing things like "async browsing of data structures" down my feature list, it's just not 100% essential for most work right now, dump it in the buffer and grep 😄

nate 2020-07-02T14:18:17.358500Z

Is the data transformed into lua data at some point or is it just text as far as lua goes?

nate 2020-07-02T14:20:06.361200Z

The reason I ask is that I've thought about writing a function that I can wrap all my evals in and it will look through the data for things that are too big (like a vector with 10k entries) and it truncates it. That way the output is useful, but not complete.

nate 2020-07-02T14:20:17.361600Z

And it doesn't bog down my neovim.

nate 2020-07-02T14:22:00.364100Z

But if that was built in to conjure, or I could register a function with conjure to do it, and then call a different mapping, that could be useful.

nate 2020-07-02T14:22:09.364300Z

I hope this makes sense.

Olical 2020-07-02T16:23:13.364900Z

Conjure only sees text, no data I'm afraid

Olical 2020-07-02T16:23:28.365500Z

You could send Clojure down the pipe and wrap your evals in something extra though

Olical 2020-07-02T16:23:31.365700Z

Then it would be data