about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.emacs14
-rw-r--r--hosts/home.nix1
2 files changed, 3 insertions, 12 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index 2c3db3c..6bbe510 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -110,15 +110,5 @@
 (use-package lsp-haskell
   :ensure t )
 
-(use-package rust-mode
-	     : ensure t)
-
-(add-hook 'rust-mode-hook
-          (lambda () (setq indent-tabs-mode nil)))
-
-(setq rust-format-on-save t)
-
-(add-hook 'rust-mode-hook
-          (lambda () (prettify-symbols-mode)))
-
-(add-hook 'rust-mode-hook #'lsp)
+(use-package rustic
+  :ensure t)
diff --git a/hosts/home.nix b/hosts/home.nix
index cfe599f..049e6dc 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -152,6 +152,7 @@
         lsp-mode
         company
         rust-mode
+        rustic
         flycheck
         lsp-haskell