kylechui / nvim-surround

Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
MIT License
2.98k stars 60 forks source link

Deleting brackets behavior #177

Closed darkangel-ua closed 1 year ago

darkangel-ua commented 1 year ago

HI there! After sometime I've noticed that if I try to delete { brackets that are placed like this

if (true) 
{
    foo();
}

bar();

I end up with this

if (true) 

    foo();

bar();

but I clearly remember that previously ds{ removed empty lines also. I couldn't find any mention about this. How I can fix that?

kylechui commented 1 year ago

See #163.