diff options
Diffstat (limited to 'evil-surround.el')
| -rw-r--r-- | evil-surround.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/evil-surround.el b/evil-surround.el index 98b1837..bc07d5b 100644 --- a/evil-surround.el +++ b/evil-surround.el @@ -65,8 +65,11 @@ Each item is of the form (TRIGGER . (LEFT . RIGHT)), all strings. Alternatively, a function can be put in place of (LEFT . RIGHT). This only affects inserting pairs, not deleting or changing them." :group 'surround - :type '(repeat (cons (regexp :tag "Key") - (symbol :tag "Surround pair")))) + :type '(alist + :key-type (character :tag "Key") + :value-type (choice + (cons (string :tag "Opening") (string :tag "Closing")) + (function :tag "Function")))) (make-variable-buffer-local 'evil-surround-pairs-alist) (defcustom evil-surround-operator-alist |
