From 81a4d366e11f94e89255f1f4c7d88a8d7cd86fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Hauspie?= <michael.hauspie@univ-lille.fr> Date: Tue, 5 Sep 2023 19:21:00 +0200 Subject: [PATCH] Fix tramp configuration for cargo --- configuration.org | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configuration.org b/configuration.org index faeecf8..d1336d9 100644 --- a/configuration.org +++ b/configuration.org @@ -882,13 +882,11 @@ For rust ;; :major-modes '(rust-mode) ;; :remote? t ;; :server-id 'rust-analyzer-remote)) -(if (boundp 'tramp-remote-path) - (add-to-list 'tramp-remote-path "~/.cargo/bin") - (setq tramp-remote-path '("~/.cargo/bin")) - ) +(with-eval-after-load "tramp" (add-to-list 'tramp-remote-path "~/.cargo/bin")) #+end_src + *** Integration with treemacs LSP can integrate with treemacs to display packages, class, symbols and such. -- GitLab