[clojure] Add instructions to disable lsp server support

Standard LSP support auto-activates the server
if LSP layer is loaded. I have now added instructions
to explicitly disable this behaviour if someone wants
to work in LSP in one layer but only with CIDER in
clojure.
This commit is contained in:
Maximilian Wolff 2020-12-18 23:35:40 +01:00
parent 8cf703887f
commit 9d7090cee3
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 8 additions and 0 deletions

View File

@ -140,6 +140,14 @@ See [[https://github.com/snoe/clojure-lsp][here]] for details. The server is ins
in your emacs directory however if this does not work
it can also be installed manually from [[https://github.com/snoe/clojure-lsp/releases/latest/download/clojure-lsp][here]].
You can also explicitly disable lsp support by setting =cider= as
backend explicitly:
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers
'((clojure :variables clojure-backend 'cider)))
#+END_SRC
** Enabling Automatic Linting
[[https://github.com/borkdude/clj-kondo][clj-kondo]], [[https://github.com/candid82/joker][joker]] and [[https://github.com/clojure-emacs/squiggly-clojure][squiggly-clojure]] provide automated linting via =flycheck=.
These packages are disabled by default as they require the relevant linter binaries