feat(emacs): Agda pairs

This commit is contained in:
2025-07-18 02:07:18 -06:00
parent 042ebe656e
commit 3daa759290

View File

@@ -38,6 +38,15 @@
"] n" #'agda2-next-goal)
(setq agda2-fontset-name "JuliaMono")
;; Inform Smartparens and Evil-surround of some extra brackets.
(with-eval-after-load 'smartparens
(sp-local-pair 'agda2-mode "" ""))
(syd-add-hook 'agda2-mode-hook
(defun syd-agda--configure-evil-surround-h ()
(with-eval-after-load 'evil-surround
(push '(?z . ("" . ""))
evil-surround-pairs-alist))))
(defun syd-agda-lookup-documentation ()
(interactive)
(call-interactively #'agda2-goal-and-context)