emacs-lsp
emacs-lsp copied to clipboard
ws-cache holds value at load time, not runtime
The ws-cache variable always evaluates to /home/sqs/.emacs.d for me. This causes the lsp-ws-connection-map lookups (with gethash) to return nil and therefore return the following when I run lsp-mode-init-conn:
Error: ls-connection-session accessing a non-ls-connection
This makes the LSP mode completely non-functioning.
My lsp-mode.el file is at /home/sqs/.emacs.d/personal/lsp-mode.el.
I was able to fix/work-around this issue by removing the (defvar-local ws-cache ... line and changing all instances of ws-cache to (projectile-project-root).