This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-07
Channels
- # aleph (4)
- # announcements (7)
- # arachne (1)
- # beginners (138)
- # calva (5)
- # cider (1)
- # clara (14)
- # clj-kondo (1)
- # cljsrn (2)
- # clojars (4)
- # clojure (247)
- # clojure-dev (33)
- # clojure-europe (3)
- # clojure-italy (71)
- # clojure-losangeles (6)
- # clojure-romania (6)
- # clojure-spain (11)
- # clojure-uk (17)
- # clojurescript (95)
- # core-async (2)
- # cursive (19)
- # datomic (7)
- # duct (27)
- # figwheel (1)
- # graalvm (22)
- # juxt (7)
- # kaocha (8)
- # leiningen (1)
- # luminus (7)
- # lumo (4)
- # off-topic (38)
- # reagent (4)
- # reitit (11)
- # shadow-cljs (30)
- # spacemacs (42)
- # tools-deps (103)
- # xtdb (5)
I'm not using spacemacs. Maybe anyone can help here? https://github.com/borkdude/clj-kondo/issues/403
the docs: https://github.com/borkdude/clj-kondo/blob/master/doc/editor-integration.md#spacemacs
possibly. Also the error may show up in *Messages*
if the spacemacs config is correct though
I think he's having a snap issue. I'm considering removing the package from snap, because this confuses people all the time: it's only possible to read/write to files in the home directory
I give more information: I have done a clean installation, I have left it .spacemacs clean and I've uninstalled the snap version.
@andros Can you post the output of flycheck-compile (select clj-kondo-clj as the linter) from a Clojure buffer?
(I'm not aware of how spacemacs does this by default, I just use https://github.com/borkdude/flycheck-clj-kondo directly)
sorry, a stupid commented. I have just run flycheck-compile (select clj-kondo-clj as the linter)
@andros the only thing I can see is you have some custom faces definitions at the end of your .spacemacs. I would be surprise if they are the cause, but cant see any other issues...
I assume you restarted Spacemacs after you added the config for clj-kondo to .spacemacs
(add-hook 'clojure-mode-hook #'flycheck-mode)
(use-package clojure-mode
:ensure t
:config
(require 'flycheck-clj-kondo))
Thank you all for your help @jr0cket @borkdude @rahul080327!! 🙂
Thanks for sharing your solution
Thanks for the solution, this seems to work with without the (add-hook 'clojure-mode-hook #'flycheck-mode)
for me at least. Wonder what could be the issue?
@jr0cket do you have to do the add-hook as well?
afaik this should've been done by the syntax-checking
and clojure
layers automatically?
You shouldn't need the add-hook
for this. I do not need it. I will try this out on a separate laptop and see if I can replicate the issue.
yes thats my understanding too
ok, I won't merge this PR until someone here can confirm it's needed (cc @andros) https://github.com/borkdude/clj-kondo/pull/404
FWIW, I don’t need this. And @andros, don’t know if this applies to you but my flycheck in spacemacs was misbehaving a few days ago, I am on the spacemacs develop branch and pulling latest and updating all packages fixed my issues.
@UE21H2HHD No No! I'm in the master branch. I don't know what to say anymore, the same thing happened to me in two different systems and with a clean installation. 😓 If I find out the cause, I'll let you know. 😁