spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
Yehonathan Sharvit 2021-02-03T13:51:36.050200Z

Do you know of material that teach the fundamentals of emacs programming?

erwinrooijakkers 2021-02-03T15:42:05.050800Z

Does someone have any success installing lsp in spacemacs, is there a tutorial?

grazfather 2021-02-03T16:01:30.051100Z

it’s trivial

grazfather 2021-02-03T16:01:53.051500Z

Just uncomment the lsp line in your dotspacemacs-configuration-layers and then reload it.

erwinrooijakkers 2021-02-04T13:34:34.065400Z

wow

grazfather 2021-02-03T16:02:15.052100Z

SPC f e d to open you dotfiles and then SPC f e R to reload after you’ve made your changes and saved

grazfather 2021-02-03T16:02:42.052500Z

you’ll also need the layer for the language you want to work with, and maybe some cli tools installed

practicalli-john 2021-02-03T21:55:16.064900Z

@erwinrooijakkers it is simple to enable LSP in Spacemacs, by adding the LSP layer. This will automatically start an LSP process for all Clojure project you open. Last time I checked, this blocks Emacs until every Clojure project is analysed. As LSP is on or of for all projects, this kills my workflow. Then you will need to do some configuration of LSP UI if you wish to also run CIDER as well. CIDER already provides many features that LSP provides, so you need to decide what to switch off in LSP to avoid those conflicts. If your new to LSP, make sure you actually need it before spending time configuring it.

erwinrooijakkers 2021-02-04T13:35:13.065600Z

No need to add clojure-backend in clojure layer?

erwinrooijakkers 2021-02-04T13:35:28.065800Z

in dotspacemacs/layers

practicalli-john 2021-02-04T23:27:53.072100Z

The Spacemacs maintainers decided that if you have the lsp layer enabled then clojure mode will use LSP by default. I don't understand this decision, but my concerns were ignored. The backend must be set to cider to avoid using LSP with Clojure