smartparens
smartparens copied to clipboard
Make sure strict mode takes into account "electric" backspace
In yaml-mode backspace is rebound to yaml-electric-backspace which if executed happily kills the paired delimiters even in strict mode. We should have a list of "backspace-like" functions and when these get invoked we should first use the strict-mode handlers and only then pass the control further.
See also https://emacs.stackexchange.com/questions/29476/always-remove-brackets-by-pairs-fix-hungry-delete-mode-and-smartparens-strict/29484#29484