Something else I noticed: your Spacemacs setup has a few things set up that I don’t have, like company-mode. Is there anywhere that I can look in order to figure out how to get that working with spacemacs?
I already tried adding the following to my
(global-company-mode t) in
(auto-completion :variables auto-completion-use-company-box t)
dotspacemacs-configuration-layers… I now get autocomplete but not
company-modeworking in Clojure source code buffers. 😕
I noticed you also had flycheck set up and working… is there some obvious spacemacs setup step that I might have missed off?
My .spacemacs config is here... its the init.el file in .spacemacs.d https://github.com/practicalli/spacemacs.d/
Many thanks. I confess I can’t get yours to work on my emacs (and I can’t figure out what is meaningfully different between yours and mind) but will spend some more time on it. If I can’t figure it out, where would be the best place to ask for help? (I’m guessing that this isn’t the best place 🙂 )
are you aware you cant have both a
.spacemacs and a
.spacemacs.d configuration, the .spacemacs will take preference
The flycheck needs the
syntax-checking layer and then add
clojure-enable-linters 'clj-kondo as a variable to the clojure layer. Assuming you are using Spacemacs
(clojure :variables clojure-toplevel-inside-comment-form t cider-overlays-use-font-lock t cider-preferred-build-tool 'clojure-cli clojure-enable-linters 'clj-kondo clojure-enable-clj-refactor t)
Ah so it turns out I don’t have a working clj-kondo and I certainly don’t have the
clojure-enable-linters 'clj-kondo config so I will try to get that working - thank you!
Suggest checking your
.spacemacs file against the template, to see if there have been any updates.
SPC f e D will open ediff with the relevant files. This should be done each time you update Spacemacs itself (not the packages, but pulling a new version of the spacemacs code in .emacs.d
Of course you will know that having read my book 🙂 https://practicalli.github.io/spacemacs/install-spacemacs/update.html
^^^ I totally need to read that
I now have clj-kondo working 🙂… still lots more to figure out but I’ll have another look at the book when I get some more time.
Many thanks John - you rule!
If you get stuck for more than a few minutes, just ask quesions...
Cool I will totally take you up on that - thank you 🙂
I’m definitely getting there… A few weeks ago, I was still on my circa-2013 custom emacs config and I’ve switched to Spacemacs and got most of the things working (and many new things that Spacemacs sets up for me so I don’t have to). I’m now fairly productive working in Clojure again (or at least productive as someone with very rusty Clojure skills can be) so I’m very grateful for that!
I've spotted a missing feature of antq, which I use to update to the library versions defined in the user level configuration in practicalli/clojure-deps-edn https://github.com/liquidz/antq/issues/44 I will do a further manual check for updates on Monday