aboutsummaryrefslogtreecommitdiffstats
path: root/local-lib
diff options
context:
space:
mode:
authorjason2017-06-19 18:37:27 -0600
committerjason2017-06-19 18:37:27 -0600
commit5c1bd164bee86c46e1faabd4ee13e85a902755c6 (patch)
treec476e0323b9c13d2af28a28c9e19ad42cc698ff9 /local-lib
parent760ffc3023f86a8b4cd48fdd839b75214bc00f21 (diff)
downloaddotemacs-5c1bd164bee86c46e1faabd4ee13e85a902755c6.tar.gz
dotemacs-5c1bd164bee86c46e1faabd4ee13e85a902755c6.zip
Update rust-conf to use unix line endings
Diffstat (limited to 'local-lib')
-rw-r--r--local-lib/rust-conf.el64
1 files changed, 32 insertions, 32 deletions
diff --git a/local-lib/rust-conf.el b/local-lib/rust-conf.el
index a0c7b7d..8cc2469 100644
--- a/local-lib/rust-conf.el
+++ b/local-lib/rust-conf.el
@@ -1,32 +1,32 @@
1;;; rust-conf.el --- configuration for the rust language 1;;; rust-conf.el --- configuration for the rust language
2;; Author: jason <jason@zzq.org> 2;; Author: jason <jason@zzq.org>
3;; Created: 16 Jun 2017 3;; Created: 16 Jun 2017
4;;; Commentary: 4;;; Commentary:
5;; 5;;
6;; Installation: 6;; Installation:
7;; * Install Rust: https://www.rust-lang.org/en-US/install.html 7;; * Install Rust: https://www.rust-lang.org/en-US/install.html
8;; * Install Racer: https://github.com/racer-rust/racer 8;; * Install Racer: https://github.com/racer-rust/racer
9;; * Install the Rust source: rustup component add rust-src - This goes to: 9;; * Install the Rust source: rustup component add rust-src - This goes to:
10;; ~/.multirust/toolchains/[toolchain]/lib/rustlib/src/rust/src 10;; ~/.multirust/toolchains/[toolchain]/lib/rustlib/src/rust/src
11;; * Define the RUST_SRC_PATH environment var to the source directory 11;; * Define the RUST_SRC_PATH environment var to the source directory
12;; 12;;
13;;; Code: 13;;; Code:
14(use-package rust-mode 14(use-package rust-mode
15 :ensure t 15 :ensure t
16 :commands (rust-mode)) 16 :commands (rust-mode))
17 17
18(use-package cargo 18(use-package cargo
19 :ensure t 19 :ensure t
20 :commands (cargo-minor-mode)) 20 :commands (cargo-minor-mode))
21 21
22(use-package racer 22(use-package racer
23 :ensure t 23 :ensure t
24 :commands (racer-mode)) 24 :commands (racer-mode))
25 25
26(add-hook 'rust-mode-hook (lambda () 26(add-hook 'rust-mode-hook (lambda ()
27 (progn 27 (progn
28 (racer-mode) 28 (racer-mode)
29 (cargo-minor-mode)))) 29 (cargo-minor-mode))))
30(add-hook 'racer-mode-hook #'company-mode) 30(add-hook 'racer-mode-hook #'company-mode)
31 31
32(provide 'rust-conf) 32(provide 'rust-conf)