@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)
Noob question. How to install clojure-lsp. There is no melpa package on this.
hey @i clojure-lsp is the server that lsp-mode will run under the hood
so you need to install only lsp-mode
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/
You may want to take a look at this: https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/
When typing lsp-install-server, it echos: There are no servers with automatic installation
do you have lsp-mode on latest version?
you can still install it via the clojure-lsp page from above ☝️
I want to let emacs automatically install the clojure server backend
you can try C-u lsp-install-server
that will force to install clojure-lsp if it was already installed
oh, this is related with outdated or bad compiled lsp-mode, I suggest you reinstall it
instead of manually M-x lsp-install-server, can I write the config in elisp?
Reinstalled, Still the same message.
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 😕
The issue is due to I set lsp-auto-configure to nil. Dunno how’s related with clojure server setup.
oh, maybe it is the issue
you would need to set lsp-clients manually I think if that var is nil
yyoncho may help you on the discord server about that
BTW, do you ever encoutnered the error: failed to define function lsp-command-keymap
Never had that 😅
it really seems bad compiled lsp-mode, odd
: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
I will let you know as soon as I have tested it. Thanks mate
works awesome, even better than the April version I've been using so far
👏
Glad to hear it 🙂 I'll still investigate it later and try to know why we had that slow down
@ericdallo just joking man ❤️
😛 no problem ❤️ I agree :man-shrugging: