Recently I had to create lots of dummy records for some unit tests. I'd create a first record, paste it several times and update the arguments.
That had me wondering: Given that neovim integrates treesitter, wouldn't it be possible to parse the copied text and apply some transformations to turn it into a snippet?
Whiped together a quick prototype (that still needs lots of work)
#neovim