Fork me on GitHub
#vim
<
2018-04-18
>
dominicm06:04:10

CAUTION: the latest release of piggieback will very likely break fireplace

dominicm06:04:16

Okay, it definitely breaks fireplace.

dominicm06:04:26

Official advice is that JDK7 support and below is being dropped in: piggieback, cider-nrepl and tools.nrepl (no longer in core).

juhoteperi07:04:25

So maybe the fix is quite simple?

dominicm07:04:51

Rhino isn't supported any more.

dominicm07:04:34

But yeah, quite simple overall. I suspect that tpope will want to retain backwards compatibility, but that's not the end of the world either.

dominicm07:04:36

I'd forgotten you could pass piggieback a nr and it would try to use some browser connection thing.

dominicm07:04:31

let response = connection.eval('((or (resolve ''cider.piggieback/cljs-repl) (resolve ''cemerick.piggieback/cljs-repl))'.' '.arg.')') 😂

dominicm07:04:10

@juhoteperi I suppose boot-cljs-repl needs updating to do the same thing.

dominicm09:04:25

apparently nashorn doesn't work with the way fireplace does clojurescript, so that's fun.

eraserhd15:04:13

Hey, I posted in #parinfer, but I'll repost here: If anyone is using the parinfer-rust plugin and would like to write the Vim online documentation for its use, I would greatly appreciate it.

eraserhd16:04:16

I'm hoping to make first announce on the clojure mailing list soon.

dominicm16:04:42

Just submitted support for the new piggieback to fireplace 🙂

👍 8
nate16:04:59

@dominicm thank you for pprint in fireplace, soooo good

dominicm17:04:25

It made me sad when I realised I'm the only one who's had it for the last 6 months.

mynomoto17:04:14

How does the pprint in fireplace work?

dominicm17:04:25

using cider-nrepl

mynomoto18:04:21

Using boot do I only need to have cider-nrepl on the classpath or do I have to do something extra for using the middlewares?

mynomoto18:04:41

What should get pretty printed? I added cider-nrepl but I'm not sure something changed.

dominicm18:04:58

When you do :Eval on large data structures

mynomoto18:04:38

Now I see! That's really cool! Thanks!

mynomoto19:04:57

Trying to run test using replant with :ReplantTestProject but got:

Error detected while processing function replant#ui#test_project[14]..replant#send#message:
line    2:
E117: Unknown function: G_replant_send_message
E15: Invalid expression: G_replant_send_message(l:port, a:msg)
Error detected while processing function replant#ui#test_project[16]..replant#generate#test_results_info[2]..replant#handle#find_test_results_msg:
line    1:
E714: List required
Error detected while processing function replant#ui#test_project[16]..replant#generate#test_results_info:
line    4:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[24]..replant#handle#test_fix_file[1]..replant#handle#find_test_results_msg:
line    1:
E714: List required
Error detected while processing function replant#ui#test_project[24]..replant#handle#test_fix_file:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[27]..replant#handle#test_add_to_qf[1]..replant#handle#find_test_results_msg:
line    1:
E714: List required
Error detected while processing function replant#ui#test_project[27]..replant#handle#test_add_to_qf:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[32]..replant#handle#is_tests_pass[1]..replant#handle#find_test_results_msg:
line    1:
E714: List required
Error detected while processing function replant#ui#test_project[32]..replant#handle#is_tests_pass:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[36]..replant#handle#test_summary[1]..replant#handle#find_test_results_msg:
line    1:
E714: List required
Error detected while processing function replant#ui#test_project[36]..replant#handle#test_summary:
line    3:
E712: Argument of get() must be a List or Dictionary

dominicm19:04:58

@mynomoto Try doing :UpdateRemotePlugins

dominicm19:04:14

and restart neovim, I should mention that more prominently.

mynomoto19:04:32

Ok, thanks, not it works. Should it open a quick fix window with results?

dominicm19:04:17

Yep, and print a summary

mynomoto19:04:12

It didn't open the quick fix, only displayed the results, which was that all tests passed.

dominicm19:04:23

Ah, no quickfix if the tests pass 🙂

dominicm19:04:27

if one fails, then it pops open

mynomoto19:04:54

Nice, makes sense!

dominicm19:04:10

Btw everyone, the new piggieback is ridiculously fast.