summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el18
1 files 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
- )