This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-18
Channels
- # announcements (1)
- # babashka (16)
- # beginners (39)
- # calva (17)
- # cider (21)
- # cljs-dev (1)
- # clojars (2)
- # clojure (39)
- # clojure-australia (1)
- # clojure-europe (1)
- # clojure-spec (7)
- # conjure (1)
- # cursive (6)
- # datomic (2)
- # depstar (5)
- # graalvm (20)
- # instaparse (11)
- # meander (4)
- # pathom (4)
- # pedestal (3)
- # polylith (18)
- # re-frame (13)
- # reagent (4)
- # reitit (3)
- # shadow-cljs (2)
- # spacemacs (14)
- # vrac (1)
Hey guys, I'm having a bit of a slowness problem with spacemacs. I recently switched from using cider to the clojure lsp (the graalvm binary). Scrolling, typing, deleting, autocomplete, all take a super long time. What gives? I have no idea what the hell is going on.
Here's my config. It's mostly based off practicalli's config. https://gitlab.com/wildwestrom/dotfiles/-/blob/MacOS/emacs/emacs/spacemacs-config/init.el
You appear to be using aggressive-indent-mode, which can cause conflicts. I've created a ~/.lsp/config.edn file https://github.com/syl20bnr/spacemacs/issues/14389#issuecomment-782012584 and it seems to be working quite well and fast.
Yes, try disabling formatting as cljfmt has some performance issues sometimes, you can the performance section here as well: https://emacs-lsp.github.io/lsp-mode/page/performance/
It looks like cljfmt is disabled in my lsp config.edn. https://gitlab.com/wildwestrom/dotfiles/-/blob/MacOS/lsp/.lsp/config.edn
if it's nil
, formatting is already disabled.
If you are having performance issues, and already followed https://emacs-lsp.github.io/lsp-mode/page/performance/ you can ask for help on lsp-mode https://discord.gg/swuxy5AAgT server.