Browse code

rust on emacs

Julio Biason authored on 30/08/2018 12:25:26
Showing 1 changed files

... ...
@@ -3,10 +3,11 @@
3 3
 (require 'package)
4 4
 
5 5
 ;;; either the stable version:
6
-(add-to-list 'package-archives
7
-	     ;; choose either the stable or the latest git version:
8
-	     ;; '("melpa-stable" . "http://melpa-stable.org/packages/")
9
-	     '("melpa-unstable" . "http://melpa.org/packages/"))
6
+(add-to-list
7
+   'package-archives
8
+   ;; '("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable
9
+   '("melpa" . "http://melpa.milkbox.net/packages/")
10
+   t)
10 11
 
11 12
 ;; Added by Package.el.  This must come before configurations of
12 13
 ;; installed packages.  Don't delete this line.  If you don't want it,
... ...
@@ -33,7 +34,7 @@
33 34
  '(inhibit-startup-screen t)
34 35
  '(package-selected-packages
35 36
    (quote
36
-    (evil-quickscope evil-tabs ## scala-mode evil-leader editorconfig diff-hl neotree helm-ag helm-projectile projectile helm hlinum fill-column-indicator evil mustang-theme cider))))
37
+    (rust-mode evil-quickscope evil-tabs ## scala-mode evil-leader editorconfig diff-hl neotree helm-ag helm-projectile projectile helm hlinum fill-column-indicator evil mustang-theme cider))))
37 38
 (custom-set-faces
38 39
  ;; custom-set-faces was added by Custom.
39 40
  ;; If you edit it by hand, you could mess it up, so be careful.
... ...
@@ -104,6 +105,8 @@
104 105
   :interpreter
105 106
   ("scala" . scala-mode))
106 107
 
108
+; rust support
109
+
107 110
 ; neotree is a nerdtree like
108 111
 (use-package neotree :ensure t)
109 112