Closed abidibo closed 2 years ago
Thanks for reporting! Maybe @ibhagwan might directly know what is going on here? I'm soon travelling so not sure I'll be able to try this myself in the near term unfortunately.
@abidibo, https://github.com/AckslD/nvim-neoclip.lua/pull/81 should solve it, before this gets merged you can try it using my fork.
@AckslD, few notes:
require('neoclip.storage').get().yanks
was done once at the top of the file, perhaps in the past yanks was a reference that didn't change but this needed to be re-acquired each call to require('neoclip.fzf')()
extend
method (cleaner IMO) and removed the line numbering from the preview window, can easily be reverted by deleting the Previewer:gen_opts
method or changing L83 to false
.@AckslD, @ibhagwan thank you very much. I can confirm the fork is working properly. I wont close the issue sicne you probably will do it after merging.
Hi, this is my problem:
lua require('neoclip.fzf')()
lua require('neoclip.fzf')()
If I run
print(vim.inspect(require('neoclip.storage').get()))
I can see al updated entries.My config:
I've just updated all plugins, so I should have all updated versions of both fzf-lua and nvim-neoclip.lua
Thanks!