about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-01-19T15·48-0500
committerglittershark <grfn@gws.fyi>2021-01-29T21·47+0000
commit6add13a29bb1a9bdc7b65710333c62f173c13f2a (patch)
treeee1882db601e947a8d143c0753665f9045eb6c30
parent323932ee6c453c1de476cfd5d1ef9faca79f6b02 (diff)
feat(gs/emacs): Add < to evil-surround-pairs in rust-mode r/2154
In addition to >

Change-Id: I3b42d396e9eb3c4f6dcdf8ab2b804804100a103c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2426
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/glittershark/emacs.d/rust.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/rust.el b/users/glittershark/emacs.d/rust.el
index 35d2151d30ca..44c3552f6ea7 100644
--- a/users/glittershark/emacs.d/rust.el
+++ b/users/glittershark/emacs.d/rust.el
@@ -6,6 +6,7 @@
   (interactive)
 
   (push '(?> . ("<" . ">")) evil-surround-pairs-alist)
+  (push '(?< . ("< " . " >")) evil-surround-pairs-alist)
 
   (setq lsp-rust-server 'rust-analyzer)
   (setq-local whitespace-line-column 100