lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
ericdallo 2021-05-14T01:47:42.192600Z

@snoe could you review that later please https://github.com/clojure-lsp/clojure-lsp/pull/424? It was the best working approach I found and I'll keep testing it this week on that branch. It would be great if you could test it as well @huxley (just run make on the project root to generate a non native binary clojure-lsp enough for the testing)

2021-05-14T14:57:48.193800Z

Noob question. How to install clojure-lsp. There is no melpa package on this.

ericdallo 2021-05-14T14:58:23.193900Z

hey @i clojure-lsp is the server that lsp-mode will run under the hood

ericdallo 2021-05-14T14:58:28.194100Z

so you need to install only lsp-mode

ericdallo 2021-05-14T14:58:47.194300Z

and you can install clojure-lsp via multiple ways, via lsp-mode or the ones on this page: https://clojure-lsp.github.io/clojure-lsp/installation/

ericdallo 2021-05-14T14:59:06.194600Z

You may want to take a look at this: https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/

2021-05-14T15:02:24.194900Z

When typing lsp-install-server, it echos: There are no servers with automatic installation

ericdallo 2021-05-14T15:03:01.195100Z

do you have lsp-mode on latest version?

ericdallo 2021-05-14T15:03:17.195300Z

you can still install it via the clojure-lsp page from above ☝️

2021-05-14T15:05:30.195500Z

I want to let emacs automatically install the clojure server backend

2021-05-14T15:07:56.195700Z

ericdallo 2021-05-14T15:08:02.196100Z

you can try C-u lsp-install-server that will force to install clojure-lsp if it was already installed

ericdallo 2021-05-14T15:08:34.196300Z

oh, this is related with outdated or bad compiled lsp-mode, I suggest you reinstall it

2021-05-14T15:10:30.196500Z

instead of manually M-x lsp-install-server, can I write the config in elisp?

2021-05-14T15:15:45.196700Z

Reinstalled, Still the same message.

ericdallo 2021-05-14T15:21:50.196900Z

I don't think there is a elisp way to have that installed, about the issue, maybe ask on https://discord.gg/swuxy5AAgT, I'm not sure what else could be the issue 😕

2021-05-14T15:22:25.197200Z

The issue is due to I set lsp-auto-configure to nil. Dunno how’s related with clojure server setup.

ericdallo 2021-05-14T15:22:44.197400Z

oh, maybe it is the issue

ericdallo 2021-05-14T15:22:56.197600Z

you would need to set lsp-clients manually I think if that var is nil

ericdallo 2021-05-14T15:23:08.197800Z

yyoncho may help you on the discord server about that

2021-05-14T15:25:00.198200Z

BTW, do you ever encoutnered the error: failed to define function lsp-command-keymap

ericdallo 2021-05-14T15:25:15.198400Z

Never had that 😅

ericdallo 2021-05-14T15:25:25.198600Z

it really seems bad compiled lsp-mode, odd

ericdallo 2021-05-14T16:55:31.201700Z

:clojure-lsp: New release https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.05.14-15.26.02 • Allow Include non full qualified vars on unused-public-var exclude filter. • Improve hover documentation: - use correct markdown for docstrings c/c @brandon.ringe - remove unnecessary new lines - add link to filename location. • Rollback full text changes on last release and change approach for a temporary fix. https://github.com/clojure-lsp/clojure-lsp/pull/424 - This Should improve performance a lot comparing with previous release. c/c @huxley

🎉 6
2021-05-14T17:00:36.202200Z

I will let you know as soon as I have tested it. Thanks mate

👍 1
2021-05-14T18:27:41.202600Z

works awesome, even better than the April version I've been using so far

2021-05-14T18:28:08.202800Z

👏

ericdallo 2021-05-14T18:28:59.203Z

Glad to hear it 🙂 I'll still investigate it later and try to know why we had that slow down

borkdude 2021-05-14T18:41:21.203400Z

🎉 https://twitter.com/sarah_edo/status/1391868594762305537

😂 8
3
borkdude 2021-05-14T18:49:50.203800Z

@ericdallo just joking man ❤️

ericdallo 2021-05-14T18:50:22.204Z

😛 no problem ❤️ I agree :man-shrugging: