Browse Source

Remove rust

Bob Mottram 6 months ago
parent
commit
88282f8008
3 changed files with 14 additions and 14 deletions
  1. 5 5
      emacs
  2. 5 5
      emacs-setup.sh
  3. 4 4
      emacs.d/init/init.org

+ 5 - 5
emacs

@@ -53,11 +53,11 @@
 (add-to-list 'load-path "~/elisp/flycheck-checkbashisms")
 (add-to-list 'load-path "~/elisp/let-alist")
 (add-to-list 'load-path "~/elisp/flycheck-color-mode-line")
-(add-to-list 'load-path "~/elisp/rust-mode")
-(add-to-list 'load-path "~/elisp/flycheck-rust")
-(add-to-list 'load-path "~/elisp/ob-rust")
-(add-to-list 'load-path "~/elisp/cargo")
-(add-to-list 'load-path "~/elisp/ivy")
+;;(add-to-list 'load-path "~/elisp/rust-mode")
+;;(add-to-list 'load-path "~/elisp/flycheck-rust")
+;;(add-to-list 'load-path "~/elisp/ob-rust")
+;;(add-to-list 'load-path "~/elisp/cargo")
+;;(add-to-list 'load-path "~/elisp/ivy")
 (add-to-list 'load-path "~/elisp/emacs-request")
 (add-to-list 'load-path "~/elisp/json-snatcher")
 (add-to-list 'load-path "~/elisp/json-reformat")

+ 5 - 5
emacs-setup.sh

@@ -397,11 +397,11 @@ install_el flycheck https://github.com/flycheck/flycheck
 install_el flycheck-color-mode-line https://github.com/flycheck/flycheck-color-mode-line
 install_el flycheck-clangcheck https://github.com/kumar8600/flycheck-clangcheck
 install_el flycheck-checkbashisms https://github.com/Gnouc/flycheck-checkbashisms
-install_el rust-mode https://github.com/rust-lang/rust-mode
-install_el flycheck-rust https://github.com/flycheck/flycheck-rust
-install_el ob-rust https://github.com/zweifisch/ob-rust
-install_el cargo https://github.com/kwrooijen/cargo.el
-install_el ivy https://github.com/abo-abo/swiper all
+;;install_el rust-mode https://github.com/rust-lang/rust-mode
+;;install_el flycheck-rust https://github.com/flycheck/flycheck-rust
+;;install_el ob-rust https://github.com/zweifisch/ob-rust
+;;install_el cargo https://github.com/kwrooijen/cargo.el
+;;install_el ivy https://github.com/abo-abo/swiper all
 install_el emacs-request https://github.com/tkf/emacs-request
 install_el json-snatcher https://github.com/Sterlingg/json-snatcher
 install_el json-reformat https://github.com/gongo/json-reformat

+ 4 - 4
emacs.d/init/init.org

@@ -2471,26 +2471,26 @@ Add further minor-modes to be enabled by semantic-mode. See doc-string of `seman
 *** Rust mode
 Recognise rust files.
 
-#+begin_src emacs-lisp
+#+begin_src emacs-lisp :tangle no
 (autoload 'rust-mode "rust-mode" nil t)
 (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
 #+end_src
 
 Enable flycheck:
 
-#+begin_src emacs-lisp
+#+begin_src emacs-lisp :tangle no
 (add-hook 'rust-mode-hook 'flycheck-mode)
 #+end_src
 
 Enable the cargo package manager:
 
-#+begin_src emacs-lisp
+#+begin_src emacs-lisp :tangle no
 (add-hook 'rust-mode-hook 'cargo-minor-mode)
 #+end_src
 
 Indent with C-c <tab>
 
-#+begin_src emacs-lisp
+#+begin_src emacs-lisp :tangle no
 (add-hook 'rust-mode-hook
           (lambda ()
             (local-set-key (kbd "C-c <tab>") #'rust-format-buffer)))