fix(lsp): move lsp-session to doom cache dir (#5650)
Because this data contains cached session data, it makes more sense to have it under `~/.emacs.d/.local/cache` so that it is clear that it can and should be removed when debugging and testing LSP using modules. Fix #5649
This commit is contained in:
parent
9aba0aea23
commit
36d41b600a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ about it (it will be logged to *Messages* however).")
|
||||||
:commands lsp-install-server
|
:commands lsp-install-server
|
||||||
:init
|
:init
|
||||||
;; Don't touch ~/.emacs.d, which could be purged without warning
|
;; Don't touch ~/.emacs.d, which could be purged without warning
|
||||||
(setq lsp-session-file (concat doom-etc-dir "lsp-session")
|
(setq lsp-session-file (concat doom-cache-dir "lsp-session")
|
||||||
lsp-server-install-dir (concat doom-etc-dir "lsp"))
|
lsp-server-install-dir (concat doom-etc-dir "lsp"))
|
||||||
;; Don't auto-kill LSP server after last workspace buffer is killed, because I
|
;; Don't auto-kill LSP server after last workspace buffer is killed, because I
|
||||||
;; will do it for you, after `+lsp-defer-shutdown' seconds.
|
;; will do it for you, after `+lsp-defer-shutdown' seconds.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue