feature/snippets: fix backspace in snippet fields not deleting pairs
This commit is contained in:
parent
74d8ea2b0f
commit
75cb7a3f0b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
(overlay-buffer yas--active-field-overlay)
|
||||
(overlay-get yas--active-field-overlay 'yas--field)))))
|
||||
(cond ((eq (point) (marker-position (yas--field-start field))) nil)
|
||||
(t (delete-char -1)))))
|
||||
(t (call-interactively #'delete-backward-char)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +snippets/delete-forward-char-or-field (&optional field)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue