cute-jumper / evil-embrace.el

Evil integration of embrace.el
50 stars 5 forks source link

Fix XML attributes not being preserved #9

Closed ntharim closed 2 years ago

ntharim commented 2 years ago

Fix attributes not being preserved after changing XML/HTML tags.

This feature was added to evil-surround in https://github.com/emacs-evil/evil-surround/commit/68f7033322dcba3781dddb48465878e896a9f57b.

It requires evil-surround-last-deleted-left being set in evil-surround-delete.

As evil-embrace overrides evil-surround-delete, it should also set this variable.

cute-jumper commented 2 years ago

Thanks!