Hi. I have just added clojure-lsp
so that Emacs can pick it up and now I can't write a single thing without the lsp formatting after every keystroke. Is there a way to disable this?
Set lsp-enable-formatting to nil
@gitere81 You might want to join the #lsp channel if you're not in there already and see if they can help.
Hi, I'm getting a stack overflow error in a recursive function (`search`) that I'm having trouble tracking down, and I'd appreciate any help. I'm using recur
which I thought meant that it would be tail-call optimized, and there are no other recursive calls, so I don't where to start looking.
The code is https://github.com/RedPenguin101/aoc2015/blob/main/src/aoc2015/day19.clj , and the problem (from Advent of Code 2015) is a pretty standard search, where I check if the first entry on a path matches a target, and if doesn't, generate the next states from that entry and repeat.
Thanks!
So I am finding :( Thanks for the tip, I will have to have a think.
https://stuartsierra.com/2015/04/26/clojure-donts-concat Maybe hitting this?
Ooh, that seems likely, thanks!
iirc, that advent problem has a trick to it, you might hit some difficulty with that approach and the given input data.
In the ghostwheel
readme, it's mentioned to:
On Clojure – launch the REPL / build with the JVM system property -Dghostwheel.enabled=true
can I do that just by editing my deps.edn
file, or do I have to change how emacs starts the repl?ok, an global option in my deps.edn
sufficed:
:jvm-opts ["-Dghostwheel.enabled=true"]