diff --git a/.emacs b/.emacs index 7c8c6d3..10ca29b 100644 --- a/.emacs +++ b/.emacs @@ -189,6 +189,13 @@ ) (custom-set-faces '(lsp-ui-doc-background ((t (:background "#373B41"))))) + (advice-add 'lsp :before + (lambda (&rest _args) + (eval '(setf (lsp-session-server-id->folders (lsp-session)) (ht) + ) + ) + ) + ) :bind ( ("C-c C-d" . lsp-ui-doc-toggle) @@ -509,8 +516,6 @@ ) ) - - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; After Init ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;