From 346b22a06be95301efb775f7eebdb16a2c9a061f Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 7 Feb 2023 19:07:13 +0000 Subject: [PATCH] fix(language/rust): set rust-playground basedir so lsp-mode works correctly The default basedir is within the user's Emacs config directory, which is likely to already be a lsp workdir. --- modules/languages/siren-rust.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/languages/siren-rust.el b/modules/languages/siren-rust.el index 0520c63..5c1567d 100644 --- a/modules/languages/siren-rust.el +++ b/modules/languages/siren-rust.el @@ -84,7 +84,9 @@ :defer t :general (:keymaps 'rust-playground-mode-map - "C-" 'rust-playground-exec)) + "C-" 'rust-playground-exec) + :custom + (rust-playground-basedir (expand-file-name "~/.rust/playground"))) (provide 'siren-rust) ;;; siren-rust.el ends here