:clojure-lsp: Released https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.04.03-18.43.55 with some minor fixes:
• Fix textDocument/workspaceSymbols
filter not working on native binaries.
• Report duplicate linters as default, can be disabled via :linters :clj-kondo :report-duplicates
- Fixes https://github.com/clojure-lsp/clojure-lsp/issues/390
• Bump rewrite-clj
to 1.0.605-alpha
to fix exceptions when inside clojure files with babashka
interpreter on first line.
• Bump clj-kondo
to 2021.04.01-20210402.215253-6
to fix a bug https://github.com/clj-kondo/clj-kondo/issues/1246 c/c @seancorfield
@ericdallo Why deviate from the clj-kondo config defaults in clojure-lsp in #390? Imo this creates more confusion than necessary when people have clj-kondo issues.
I think this accomplish a more IDEish behaviour, also, this was the behaviour of clojure-lsp before clj-kondo
We added a flag for disabling that
https://clojure-lsp.github.io/clojure-lsp/settings/#clj-kondo
What happens when you disable this but enable it for one specific linter in clj-kondo, not all?
It will show the duplicates of the only enabled one
In hindsight, maybe {:linters {:clj-kondo true/false/map}}
would have made more sense than :level
since :off
is the only level I think?
ok, that sounds good then
Yeah, it's another option indeed
Otherwise, great release, thanks! 🎉
Thanks @ericdallo I've set myself a reminder to update LSP in my work setup on Monday 🙂