Fork me on GitHub
#spacemacs
<
2018-09-16
>
Daniel Hines20:09:26

I’m having some trouble with the clojure-lint lint layer. I got it working on my windows machine once, but I can’t get it working on my Mac. I’ve installed joker (via homebrew) and enabled the layer, but when I open a clojure file with linting errors, I don’t see anything.

practicalli-johnny21:09:30

@U8QTB156K Hmm, I just installed it on Ubuntu and it works with Spacemacs develop. Sorry, that doesnt help you very much. I assume you restarted Spacemacs after adding clojure-lint to the .spacemacs file. And you checked that joker worked by running it on the command line with a clojure file?

practicalli-johnny21:09:29

SPC f y y will copy the path for you or M-: (getenv "PATH") will display the the exec path that Spacemacs uses in the mini buffer.

practicalli-johnny21:09:23

(add-to-list 'exec-path "~/.local/bin/") will add a path to Spacemacs, in this case ~/.local/bin. If required, add this code to your dotspacemacs/user-config section of .spacemacs file. I would advise restarting Spacemacs to ensure this code is evaluated and the path is added, or you can just check the path with the previous command I mentioned

Daniel Hines22:09:02

Correct, I did all those things.

practicalli-johnny22:09:50

If none of that works and you are using the develop version of Spacemacs, then perhaps pulling the latest commits may fix the problem. It sounds similar to the issue raised here https://github.com/syl20bnr/spacemacs/issues/10851

Daniel Hines22:09:49

Thanks @U05254DQM, Ill give that a shot when I get home

practicalli-johnny11:09:16

@U8QTB156K did you manage to fix the clojure-lint layer problem?

Daniel Hines20:09:30

Anyone have any tips? I’m not sure how to begin to debug it.