summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-11-08 18:04:19 -0600
committerBrad Clawsie <brad@b7j0c.org>2023-11-08 18:04:19 -0600
commit35671025202ddd63ce91f02f2a2f1beb22d9ce21 (patch)
tree0fdf0d0a4af9325ee139d8cff468fbf5199f8bb3
parentc6ac7bb5e0084c4ad0d60ffec6d94ea51bd8eb39 (diff)
electric parens for rustic
-rw-r--r--emacs/dotemacs1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/dotemacs b/emacs/dotemacs
index ddcf325..7c45f1a 100644
--- a/emacs/dotemacs
+++ b/emacs/dotemacs
@@ -197,6 +197,7 @@
;;; rust
(setq rustic-format-on-save t)
(add-hook 'rustic-mode-hook #'yas-minor-mode-on)
+(add-hook 'rustic-mode-hook #'electric-pair-mode)
(global-set-key (kbd "<f7>") 'rustic-cargo-current-test)
(global-set-key (kbd "<f8>") 'rustic-cargo-build)