Fork me on GitHub
#lsp
<
2021-04-03
>
ericdallo19:04:39

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

catjam 6
aw_yeah 3
🎉 3
seancorfield05:04:31

Confirmed bullet 4 fixed on the version of VS Code I’m now using! Thank you!

metal 12
borkdude19:04:37

@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.

ericdallo19:04:03

I think this accomplish a more IDEish behaviour, also, this was the behaviour of clojure-lsp before clj-kondo

ericdallo19:04:19

We added a flag for disabling that

borkdude19:04:21

What happens when you disable this but enable it for one specific linter in clj-kondo, not all?

ericdallo19:04:47

It will show the duplicates of the only enabled one

borkdude19:04:12

In hindsight, maybe {:linters {:clj-kondo true/false/map}} would have made more sense than :level since :off is the only level I think?

borkdude19:04:17

ok, that sounds good then

ericdallo19:04:44

Yeah, it's another option indeed

borkdude19:04:47

Otherwise, great release, thanks! 🎉

🎉 3
thanks 3
seancorfield19:04:05

Thanks @ericdallo I've set myself a reminder to update LSP in my work setup on Monday 🙂

metal 9