Emacs: add pair for elisp docstring `+' pairing
Alan Pearce alan@alanpearce.eu
Thu, 28 Jan 2021 15:50:45 +0100
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -341,6 +341,8 @@ :config (progn (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)))