Switch to native pairing mode

This commit is contained in:
Zelong Kuang
2025-12-15 03:20:45 +11:00
parent 990ee14807
commit 17d1eb859f

View File

@@ -1,10 +1,14 @@
;; -*- lexical-binding: t -*- ;; -*- lexical-binding: t -*-
(use-package smartparens ;; (use-package smartparens
:demand t ;; :demand t
:hook (prog-mode text-mode markdown-mode) ;; :hook (prog-mode text-mode markdown-mode)
:config ;; :config
(require 'smartparens-config)) ;; (require 'smartparens-config))
(add-hook 'prog-mode-hook #'electric-pair-mode)
(add-hook 'text-mode-hook #'electric-pair-mode)
(use-package winum (use-package winum
:init :init