-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I originally added this as a comment on #64 but I figure that issue has been closed for long enough that it's worth a new thread.
I'm running into the behavior described in #64 on the latest commit (f430f5b). #68 looks similar, but the before/after examples in this issue (#64) are definitely the same as what I'm seeing. Why would the issue have come back?
If it matters, I have seen this behavior regardless of the value of kill-whole-line.
Here's another example, this time in nix-ts-mode, though I see it in quite a few other modes (I think also php-ts-mode):
Original, where | represents point:
{
services.kanshi.settings = [
{
output.criteria = "eDP-1";
|output.scale = 2.0;
}
];
}After first puni-kill-line invocation, with | as point:
{
services.kanshi.settings = [
{
output.criteria = "eDP-1";
|
}
];
}After second puni-kill-line invocation:
{
services.kanshi.settings = [
{
output.criteria = "eDP-1";
|}
];
}And here's an even more minimal example with the intermediary step elided:
[
{}
|
][
{}
|]