This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-19
Channels
- # adventofcode (1)
- # announcements (3)
- # babashka (60)
- # beginners (60)
- # calva (5)
- # clj-commons (17)
- # clj-kondo (33)
- # clj-on-windows (1)
- # clojure (40)
- # clojure-austin (3)
- # clojure-europe (19)
- # clojure-gamedev (25)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-sweden (4)
- # clojure-uk (2)
- # clojurescript (27)
- # conjure (1)
- # core-async (1)
- # core-typed (7)
- # cursive (5)
- # datomic (35)
- # events (1)
- # fulcro (35)
- # integrant (7)
- # introduce-yourself (2)
- # kaocha (5)
- # leiningen (2)
- # lsp (26)
- # malli (13)
- # nbb (99)
- # off-topic (15)
- # pathom (12)
- # pedestal (5)
- # polylith (8)
- # portal (4)
- # rdf (19)
- # reagent (8)
- # reitit (5)
- # releases (2)
- # remote-jobs (2)
- # rewrite-clj (1)
- # shadow-cljs (94)
- # testing (2)
- # timbre (2)
- # tools-deps (16)
two questions: 1. is it possible to use a different version of clj-kondo than the built-in one with clojure-lsp? 2. any suggestions on how to use clojure-lsp in gitlab for CI?
1. ATM no, it's a hardcoded deps on lib/deps.edn
2. I never tried but already used on GithubActions, it should be pretty similar
Okay, I'll start poking at this then
I have no experience with gitlab CI, but if you manage to install clojure-lsp sucessfully there using any install method from https://clojure-lsp.io/installation/ it should be good
not sure if Gitlab has a GithubActions projects concept, if so, it'd be nice to create as we created https://github.com/clojure-lsp/setup-clojure-lsp
It is possible to use a different version of clj-kondo, I'm doing this myself all the time
not via clojure-lsp, you disable diagnostics and use from your flycheck-clj-kondo right? this makes clojure-lsp don't report unused-public-var for example
What you have to do to use clj-kondo separately from clojure-lsp: Emacs: ā¢ disable lsp-mode diagnostics ā¢ use clj-kondo via flycheck-clj-kondo VSCode: ā¢ Disable linting in clojure-lsp in ~/.lsp/config.edn (or similar) ā¢ Install the clj-kondo extension
cool, thanks friends
lsp find definition just takes me to the require of the namespace i'm already in. Any idea what i can do to fix this?
LSP :: lsp-mode <tel:202210191010|20221019.1010>, Emacs 28.2, gnu/linux
does that include the server information?
which clojure-lsp /usr/local/bin/clojure-lsp
clojure-lsp --version clojure-lsp 2022.10.05-16.39.51 clj-kondo 2022.10.05
using the gui "go to defination" it works. let me make sure im htting the right keys or not misunderstanding the command im issuing
carry on eric, i'm just a big dummy
i was doing "find declaration" instead of "find defination"
i never even considered wanting to find the "declaration" so i just thought it was another way to say definationh.
yeah, it's a nice addition š