Fork me on GitHub
#announcements
<
2023-09-08
>
practicalli-johnny14:09:07

Practicalli Spacemacs user config - Clojure and LSP workflow • Increased LSP idle time to improve typing responsiveness (otherwise slowed by autocompletion) • removed syntax-checking layer as functionality seems to be covered by LSP https://github.com/practicalli/spacemacs-config/releases/tag/2023-09-08 UPDATE 2023-09-12: added recipe to pin evil-surround to a December 2022 version, whist an issue with evil actions delete/change surrounding delimiters/paren, i.e. c s & d s investigated. More details about the config and using Clojure in Emacs in the https://practical.li/spacemacs/ which has had many updates and improvements this year.

🎉 16
ericdallo14:09:13

I use lsp-idle-delay of 0.05 in doom-emacs for a long time and don't face any slowness, curious about why increase to 1.5

practicalli-johnny15:09:18

The slowness issue seems to happen when I moved to Emacs 29 (which didnt seem to work with Doom Emacs at at that time, towards the start of 2023). I had lsp-idle-delay set to 0.2 and there is noticeable freeze when typing as completion tries to kick in. Disabling LSP removes this freeze. With lsp-idle-delay set to 1.5 typing is far smoother using LSP with Emacs 29 (and Emacs 30 built from source)

ericdallo15:09:58

that's weird, I'm using emacs 29 with doom, would be nice to track that as I don't think that slowness is related to lsp since I can't repro using a https://github.com/ericdallo/dotfiles/blob/master/.config/doom/config.el#L140

practicalli-johnny15:09:14

Increasing the lsp-idle-delay is the only approach I have found, other than removing lsp Emacs packages (lsp layer in Spacemacs) from the user config. I can try doom again at some point, but I messed up something bad during an doom update and it wont run now, so it seems I'll have to start from scratch with Doom, it may take a while to get around to it again (maybe in the new year at I'm not actively using Doom).

👍 2
nix 2
practicalli-johnny16:09:46

You got me curious so I installed Doom from scratch, although I still have my user config. With Emacs 30 (compiled from source) on Linux, Doom is quite unresponsive when typing into a buffer, even opening a paren has a noticeable delay... deleting a word or line... its all very slow and simply not usable, very much not like doom on Emacs 28. Calling commands via key bindings is very snappy though. Perhaps something is not happy with my build, although its fine with Spacemacs. Maybe a native compilation issue? Or more likely my user config (maybe an older package... something to delve into when I have more time) Update: its still very slow to respond to any buffer actions without my config, so probably the build or native comp.

ericdallo16:09:51

yeah, that's odd, never saw doom like that, maybe a specific package or config indeed, youcan check my dotfiles maybe, I have my whole OS/emacs versioned there

ericdallo22:09:55

Announcing https://github.com/ericdallo/clj4intellij! clojure 💙 intellij Develop Intellij plugins with Clojure! During https://github.com/clojure-lsp/clojure-lsp-intellij development this year, I faced a lot of issues regarding develop a Intellij plugin with Clojure, so I decided to extract and document those things in a separated library and now it's ready to be used in other plugins 🎉

🎉 66
👏 15
3
clojure-spin 2
🌠 1
🚅 1
❤️ 1
pfeodrippe01:09:15

Foguete não tem ré

🚀 2