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: replace deprecated `vim.tbl_islist` by native Lua function #323

Closed clason closed 4 months ago

clason commented 4 months ago

This is also arguably more correct, since the previous version would also wrap non-list tables like { 1 = 'a', 3 = 'b' }.

Fixes #321

kylechui commented 4 months ago

Thanks a bunch for all that you've done for Neovim @clason ! I really appreciate you taking the time to submit a fix for this :)