Move parentheses config to ui.el

This commit is contained in:
Andreas Zweili 2022-08-21 15:03:43 +02:00
parent d3d4c1dfb2
commit 77a61f3013
2 changed files with 6 additions and 6 deletions

View File

@ -39,12 +39,6 @@
;; insert only one space after a period
(setq sentence-end-double-space nil)
;; Matches parentheses and such in every mode
(show-paren-mode 1)
;; pair parentheses
(electric-pair-mode 1)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(setq ad-redefinition-action 'accept)

View File

@ -149,3 +149,9 @@
(add-hook 'prog-mode-hook 'generic-setup)
(add-hook 'text-mode-hook 'generic-setup)
;; )
;; Matches parentheses and such in every mode
(show-paren-mode 1)
;; pair parentheses
(electric-pair-mode 1)