Fork me on GitHub
#emacs
<
2020-09-30
>
grav20:09:32

Hey! Been away from emacs for a while, but now I've installed prelude and wanted to try out clojure-lsp. I have a small toy-project, but I'm stuck at https://github.com/snoe/clojure-lsp#emacs. Do I need to write some elisp, or is prelude already configured to use clojure-lsp? How do I start it?

grav20:09:19

clojure-lsp is in my path, but just opening a file with a namespace and trying eg lsp-rename yields "The connected server(s) does not support method textDocument/rename.

sogaiu22:09:03

iiuc, there is an active #lsp -- may be that's a good place to ask?

grav10:10:12

Thanks @UG1C3AD5Z, will try that one next time. I managed to make it work, by using

(add-hook 'clojure-mode-hook #'lsp)

👍 3