sp-kill-hybrid-sexp doesn't always remove empty lines if there are only empty lines between point at the close paren.
E.g.: (point is |)
In this state, sp-kill-hybrid-sexp has no effect at all. Whereas it should produce:
To illustrate this point, if we started with:
then sp-kill-hybrid-sexp works as expected and produces:
Somehow, the lack of something(); before the close paren prevents sp-kill-hybrid-sexp from working!
Environment & version information
smartparens version: 1.11.0
- Active major-mode: c-mode (or js-mode)
- Emacs version: GNU Emacs 26.1 (build 2, x86_64pc-linux-gnu, GTK+ Version 3.24.4) of 2019-02-03, modified by Debian
- OS: Debian "buster" x86_64 GNU/Linux
sp-kill-hybrid-sexpdoesn't always remove empty lines if there are only empty lines between point at the close paren.E.g.: (point is
|)In this state,
sp-kill-hybrid-sexphas no effect at all. Whereas it should produce:To illustrate this point, if we started with:
then
sp-kill-hybrid-sexpworks as expected and produces:Somehow, the lack of
something();before the close paren preventssp-kill-hybrid-sexpfrom working!Environment & version information
smartparensversion: 1.11.0