🔗 Fuco1/smartparens: Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
設定がいまいちよくわからず、試行錯誤しましたが、
(require 'smartparens-config)
を追加したところとても賢く機能するようになりました。
(leaf smartparens
:ensure t
:hook ((after-init-hook . smartparens-global-mode)
(prog-mode-hook . turn-on-smartparens-mode))
:config
(require 'smartparens-config))