summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index b3c5eb1..c6b688b 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -871,6 +871,11 @@ the comparison of the ‘company-pseudo-tooltip-overlay’ height and 0 using PR
("a" eglot-code-actions)
("r" eglot-rename)))
+ ;;; Context-Specific Modes
+(dolist (mode '(c-mode c-ts-mode go-ts-mode))
+ (add-hook (x-mode-to-hook mode) #'electric-pair-local-mode)
+ (add-hook (x-mode-to-hook mode) #'electric-quote-local-mode))
+
;;; Emacs Calculator
(setq
calc-display-trail nil