Hi, I have a machine with an ancient GLIBC so running clojure-lsp binary is out - Is there any way I can run with just the jar (specifically hooking into emacs) ?
This way you need the project in your machine ☝️
By downloading the file I said, you can just bash -c clojure-lsp
or ./clojure-lsp
You can use the deprecated clojure-lsp
file from the release: https://github.com/clojure-lsp/clojure-lsp/releases
it's a embedded jar, but it's slower, I'd suggest making the native binary work
I am about to migrate from these ancient machines .. in the meantime I could handle 'slow'
@ericdallo I wrapped it in a bash script - does it require args ?
no args, i wrap it in bash like this (on phone so might make mistake) bash -c "cd ~/dev/lsp && clj -M:run"
Could it be that clojure-lsp is preventing me to slurp something? I have the following code:
(add-watch (var my-var) :something (fn [ctx k o n] (println o "->" n)))
When I try to slurp :something
into (var my-var)
I get clj-kondo errors (which would be correct if the slurp would have happened)Hum, never saw that, are you using latest clojure-lsp?
try disabling lsp identation with (setq lsp-enable-identation nil)
Yes. I'm not sure if it's clojure-lsp though, but I updated it yesterday and this never happened before.
I'll try.
I disabled lsp-mode and slurping is working okay now.
M-: (setq lsp-enable-identation nil)
that didn't work I used it in a buffer which had clojure-lsp already connected.
I meant lsp-enable-indentation``
let me try again
That did the trick.
(setq lsp-enable-indentation nil)
yeah, so for some reason the identation is clashing with your paredit-like emacs package
I'd suggest you open an issue on lsp-mode or ask for help on its discord server
Some versions ago you changed the clj-kondo underlining length to just underline the paren was it changed again?
yeah 😕 @snoe needed to rollback that to fix another issue
we need to re-think a better way to fix that
okay, 😄 np just wanted to check if it was on purpose or maybe I changed something in my config haha
> yeah, so for some reason the identation is clashing with your paredit-like emacs package yes, it's super weird and it does other weird stuff too. I'm using smartparens. I'll keep it disabled for now and I'll search for the discord server you told me.
yeah. weird issue indeed