summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-08-24 11:07:28 +0200
committerjohannst <johannes.stoelp@gmail.com>2019-08-24 11:07:28 +0200
commitfcc9eef7d3e2921daec0ef52a3c0ad1b77ee1a38 (patch)
treecea0d6a17b00f9419d2dadf5385a8987b3ab83bc
parent952ef8bfa14c8fdc4f199a165b6828a7fb2aa232 (diff)
downloaddotfiles-fcc9eef7d3e2921daec0ef52a3c0ad1b77ee1a38.tar.gz
dotfiles-fcc9eef7d3e2921daec0ef52a3c0ad1b77ee1a38.zip
minor cleanup of emacs config
-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
- )