Fork me on GitHub
#vim
<
2017-12-09
>
dominicm15:12:18

Exciting news, as of https://github.com/SevereOverfl0w/vim-replant/commit/0210bf3b28e245c1f8e158a524e704f1d351363a vim-replant's refresh now handles error messages 🙂 Quite excited for someone else to try this out. It requires cider-nrepl snapshot.

dominicm20:12:34

I also just added a auto-insertion of (ns) feature.

markwoodhall21:12:46

Just checking out auto-insertion of (ns)! 😀

markwoodhall21:12:38

ReplantFindSymbol is nice too.

markwoodhall21:12:18

If I do a <localleader>rf knowing I am calling a function with incorrect arity, I get some entries in the locationlist, is there any reason why I can't jump to app.clj? https://i.imgur.com/1JeiQj3.png

dominicm21:12:43

@markwoodhall hmm, cider-nrepl isn't able to infer it in this case. I have a suspicion it's related to the record. I'll have a play with a pull request later.

dominicm21:12:12

Yeah, I think the namespace is being thrown off by the record.

dominicm21:12:19

I guess the way to test would be if the component called another function, which was what caused the arity exception. I'd bet app.clj would link in that case.

markwoodhall21:12:30

I will try and have a look.

markwoodhall21:12:50

I think clojure-check might be fighting with it a little too, since it also picks up that the arity is wrong and clears the location list before adding it's own entry.

dominicm21:12:20

I suspect ALE is generally incompatible with anything that sets the location list.

markwoodhall21:12:58

Yeah, I'm using Neomake but the same applies, I guess.

dominicm22:12:09

If you're running it automatically, yes.

dominicm22:12:18

You can go back and forth location lists.

dominicm22:12:58

Tbh, I suspect I should be using the quickfix for refresh, as its project-wide