summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-01-28 15:50:45 +0100
committerAlan Pearce2021-01-28 15:50:45 +0100
commitc1cdde26628ad1ded165b48dbdd9db7390b5fe0b (patch)
tree986d5c570bf40334a74b4635198b84d839798222
parent394c97ecffbd5907619c6fd4c4b9ac8a62ba2288 (diff)
downloadnixfiles-c1cdde26628ad1ded165b48dbdd9db7390b5fe0b.tar.lz
nixfiles-c1cdde26628ad1ded165b48dbdd9db7390b5fe0b.tar.zst
nixfiles-c1cdde26628ad1ded165b48dbdd9db7390b5fe0b.zip
Emacs: add pair for elisp docstring `+' pairing
-rw-r--r--user/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 0c0e0be9..f3929905 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -341,6 +341,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (add-hook 'javascript-mode-hook (lambda ()
                                               (define-and-bind-quoted-text-object "slash" "/" "\\/" "\\/")
                                               (push '(?\/ . ("/" . "/")) evil-surround-pairs-alist)))
+            (add-hook 'emacs-lisp-mode-hook (lambda ()
+                                              (push '(?` . ("`" . "'")) evil-surround-pairs-alist)))
             (global-evil-surround-mode +1)))