diff --git a/configuration.org b/configuration.org index faeecf8936953196ac3b3ad9df332df7975fc727..d1336d9d7cbb1c2751d3d53c8e72ec1d0a955783 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.