Came back to a clojure project after a couple of months and noticed my nvim/clojure-lsp setup doesn’t seem to be (fully) working. I’m trying to debug it but I’m not sure exactly how to do it 🧵
✅ Other lsp servers seem to be working, so the problem seems specific to the clojure-lsp setup.
I have the latest clojure-lsp installed via Mason: 2025.03.07-17.42.36
:LspInfo looks ok before opening any files:
==============================================================================
lspconfig: require("lspconfig.health").check()
LSP configs active in this session (globally) ~
- Configured servers: lua_ls, typescript-tools, jsonls, stylelint_lsp, cssmodules_ls, cssls, html, emmet_language_server, yamlls, clojure_lsp, taplo, bashls, fennel_language_server, eslint
- OK Deprecated servers: (none)
LSP configs active in this buffer (bufnr: 1) ~
- Language client log: ~/.local/state/nvim/lsp.log
- Detected filetype: ``
- 0 client(s) attached to this bufferafter opening a clojure file, :LspInfo opens an empty buffer
:LspLog contains some stuff from other servers, nothing from clojure lsp
probably nvim is not starting the server, you can confirm that checking if there is a clojure-lsp process
Would it be a good idea for lsp-clojure.el to provide a keymap similar to clj-refactor-map that the user could add to a prefix? Is this already done somewhere else?
probably, feel free to send a PR, I can't take a look at it