ggandor / leap-spooky.nvim

👻 Actions at a distance
The Unlicense
277 stars 7 forks source link

Custom text objects overwrite the default ones #26

Closed auron95 closed 7 months ago

auron95 commented 7 months ago

Hello, thank you for this awesome plugin! I wanted to point out a bug for the custom text objects feature: adding custom text objects will overwrite the default ones. This is apparently because vim.tbl_extend on line 73 does not concatenate arrays, but merges tables, so adding n custom text objects replaces the first n default text objects.

ggandor commented 7 months ago

Wow, no one has reported this for two months. Thanks!