about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/grfn/emacs.d/rust.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/users/grfn/emacs.d/rust.el b/users/grfn/emacs.d/rust.el
index 1c1c75aab56f..176aad08043d 100644
--- a/users/grfn/emacs.d/rust.el
+++ b/users/grfn/emacs.d/rust.el
@@ -5,8 +5,9 @@
 (defun grfn/rust-setup ()
   (interactive)
 
-  (push '(?> . ("<" . ">")) evil-surround-pairs-alist)
-  (push '(?< . ("< " . " >")) evil-surround-pairs-alist)
+  (direnv--maybe-update-environment)
+
+  (+evil-embrace-angle-bracket-modes-hook-h)
 
   (setq lsp-rust-server 'rust-analyzer)
   (setq-local whitespace-line-column 100