Fork me on GitHub
#spacemacs
<
2019-08-15
>
borkdude04:08:08

@andrey.krasnov.pm There was someone who had to do an an extra thing for clj-kondo: https://github.com/borkdude/clj-kondo/pull/404/files Not sure if that's also your problem?

doesntmeananything07:08:31

Clj-kondo works fine for me with the instructions from @U05254DQM. Installation was really smooth with no issues!

borkdude07:08:08

Thanks!

❤️ 4
practicalli-johnny07:08:16

Would be interested to know if anyone actually uses Eastwood/squiggly as a linter. If no one uses it we could deprecate it in the docs / layer (especially if it’s broken)

✔️ 4
doesntmeananything07:08:34

I would support that. The default instructions are really inconsistent and just refuse to work on either master branch or develop. Plus making sure that your code has no side effects is a pretty big warning to consider for something as innocuous as in-editor linting. On the other hand, clj-kondo is very simple to install and seems to cover most uses. It's really a great tool. While Eastwood is fantastic, I think for most non-trivial cases it's better to offload using it onto some customised CI job as an extra linting precaution

practicalli-johnny08:08:55

I agree about Eastwood, it seems more appropriate as a batch processing linter for the whole project, either before you push a commit to a shared repo or as mentioned part of the CI pipeline. Thanks for the feedback.

jumar08:08:29

When you use imenu (e.g. helm-jump-in-buffer) does it show functions args too? For me it does not but I think I've seen elsewhere that signatures/args could/should be visible.

ag16:08:46

That I believe is possible, but you’re gonna need to modify https://github.com/clojure-emacs/clojure-mode/blob/master/clojure-mode.el#L711

murtaza5209:08:05

hi I just reinstalled emacs brew cask install emacs. I have my lein in my local bin. In my .zshenv, I am adding lein to the path. I have a spacemacs installation and it was working well before the reinstall. Now when I do cider-jack-in it is says lein is not in the path, any remedies ?

murtaza5210:08:09

got it working -

(setenv "PATH" (concat (getenv "PATH") ":/Users/murtaza52/bin/"))
  (setq exec-path (append exec-path '("/Users/murtaza52/bin/")))

jumar11:08:08

You don't have lein bin in /usr/local/bin/lein? (that is the standard location for the homebrew package)

murtaza5212:08:36

I had installed it directly using the script, brew install lein didnt work for me

murtaza5204:08:46

brew install leiningen worked, thanks