From fcc9eef7d3e2921daec0ef52a3c0ad1b77ee1a38 Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 24 Aug 2019 11:07:28 +0200 Subject: minor cleanup of emacs config --- emacs.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/emacs.el b/emacs.el index f4bfe0e..626a12e 100644 --- a/emacs.el +++ b/emacs.el @@ -57,28 +57,28 @@ ) ) -;; help +;; helm (use-package helm :ensure t :config (helm-mode t) ) +;; magit +(use-package magit + :ensure t + ) + ;; rust-mode (use-package rust-mode :ensure t - :config - (helm-mode t) + :mode ("\\.rs\\'" . rust-mode) ) ;; cargo (use-package cargo :ensure t - :config - (add-hook 'rust-mode-hook 'cargo-minor-mode) + :hook (rust-mode . cargo-minor-mode) + :after (rust-mode) ) -;; magit -(use-package magit - :ensure t - ) -- cgit v1.2.3