feat(emacs): Preserve balance when inserting comments

This commit is contained in:
Madeleine Sydney
2025-02-15 16:26:19 -07:00
parent b9912390cb
commit 12038a92b6
2 changed files with 7 additions and 2 deletions

View File

@@ -454,6 +454,11 @@ be considered as part of the sexp."
"af" #'syd-evil-a-form
"if" #'syd-evil-inner-form)
(general-def
:keymaps 'syd-lisp-mode-map
:states 'insert
";" #'sp-comment)
;; Bind editing commands in normal node, and motion commands in motion
;; mode.
(general-def