gbprod / yanky.nvim

Improved Yank and Put functionalities for Neovim
Do What The F*ck You Want To Public License
868 stars 21 forks source link

Bug: Latest commit breaks last-paste-textobj #146

Closed chrisgrieser closed 12 months ago

chrisgrieser commented 1 year ago

the last commit (7427e77) seems to have broken the last-paste textobject for me, I now always get the "no last paste" message.

cc @MariaSolOs (sorry)

MariaSolOs commented 1 year ago

@chrisgrieser did you enable the text object setting?

MariaSolOs commented 1 year ago

You have a typo in your config. It's textobj, not textobjs: https://github.com/chrisgrieser/.config/blob/ece7b09a7ce37d57ac7f3cb8edbc0ea2b1fad7d7/nvim/lua/plugins/editing-support.lua#L275

chrisgrieser commented 1 year ago

You have a typo in your config. It's textobj, not textobjs:

Yeah, I also noticed that one an hour ago, but it does not seem to make a difference

MariaSolOs commented 1 year ago

@chrisgrieser oh sorry the README is wrong. The setting is textobject, not textobj. I'll fix it soon.

MariaSolOs commented 1 year ago

@chrisgrieser could you please confirm if #147 fixed this issue?

chrisgrieser commented 12 months ago

yep, can confirm that it works now