spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
zendevil 2021-03-12T11:24:45.039900Z

I have a flycheck-clj-kondo question posted in #clj-kondo

zendevil 2021-03-12T11:25:26.040100Z

but I’m not seeing the flycheck-clj-kondo listed in melpa packages

2021-03-12T11:39:16.041400Z

I think you shouldn't be using the package-install in spacemacs. For clj-kondo, I've set this up in the .spacemacs file: • SPC f e d • in dotspacemacs-configuration-layers

(clojure :variables
              clojure-backend 'cider
              clojure-toplevel-inside-comment-form t
              clojure-enable-clj-refactor t
              clojure-enable-linters 'clj-kondo)

2021-03-12T11:39:43.041900Z

you might also need the syntax-checking layer, but I can't remember

practicalli-john 2021-03-12T17:03:07.046300Z

@ps If you have LSP enabled for Clojure, then you do not need to add clj-kondo, lsp will already provide that. If not using LSP, then yes as Shan says, add clj-kondo to the clojure layer using clojure-enable-linters 'clj-kondo, You will need the clj-kondo binary installed on the operating system executable path which is recognised by Emacs, check with SPC f e e and see the value of PATH Spacemacs develop branch is required As is the syntax-checking layer

practicalli-john 2021-03-12T17:04:34.047300Z

Any packages installed with package-install will be removed by Spacemacs the next time Emacs is restarted. There are a great many layers available with Spacemacs, removing the need to install packages directly https://develop.spacemacs.org/layers/LAYERS.html