lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
ericdallo 2021-04-03T19:06:39.209Z

: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

1
2
🎉 1
borkdude 2021-04-03T19:10:37.209600Z

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

ericdallo 2021-04-03T19:23:03.209900Z

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

ericdallo 2021-04-03T19:23:19.210100Z

We added a flag for disabling that

borkdude 2021-04-03T19:24:21.210600Z

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

ericdallo 2021-04-03T19:24:47.210800Z

It will show the duplicates of the only enabled one

borkdude 2021-04-03T19:25:12.211100Z

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

borkdude 2021-04-03T19:25:17.211300Z

ok, that sounds good then

ericdallo 2021-04-03T19:25:44.211700Z

Yeah, it's another option indeed

borkdude 2021-04-03T19:25:47.211900Z

Otherwise, great release, thanks! 🎉

🎉 1
1
seancorfield 2021-04-03T19:51:05.213Z

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

🤘 3