kylechui / nvim-surround

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

fix: Default delete should work if `find` key is sane. #331

Closed kylechui closed 4 months ago

kylechui commented 4 months ago

If the user has redefined find = "‘.-’", then it makes more sense for default delete to honor that and trim quotes, rather than fail and do nothing.