Hi when I run "lsp" it loads forever. And lsp-restart-workspace seem to be okay. The .cache is created in .lsp directory (I tried btw cleaning it and clj-kondo and all cache, but no effect) Also in server logs, there is nothing indicating any error. It started out of nowhere, everything was working and now of a sudden my references went missing. I'm on newest lsp, using doom emacs. Any tips how I may debug this?
I had the same issue recently, it took some time to find, it was my config
Like .lsp/config.edn?
I fixed setting (setq lsp-use-plists t) and recompiling emacs
a lsp-mode issue
the issue was that lsp-mode was serializing wrongly all messages, you can confirm that checking lsp-workspace-show-log after enabling lsp-log-io , you will see null messages
I don't know if someone broke lsp-mode when lsp-use-plists is nil, but I should have set that for t for years hehe
Yeah I had (setq lsp-use-plists nil) for some reason in my config.el
maybe you copied from mine? 😛
I updated it a week ago tho
Most likely 😅
I think t is default so I just removed the setq to nil
For me, setting it to nil fixed it. https://clojurians.slack.com/archives/CPABC1H61/p1759093526968409... 🤷 But https://github.com/doomemacs/doomemacs/blob/f9664ae058d67b8d97cb8a9c40744fefc3e5479f/modules/tools/lsp/packages.el#L16-L17 when this value changes, so maybe the lsp-mode rebuild is the more important thing.
I believe there is/was some doom code which is changing this variable, so that's causing issues