Conversation
| return spec_from_entry(entry) | ||
| end, | ||
| get_buffer_by_name = function(self, entry) | ||
| return 'test' |
There was a problem hiding this comment.
I think this should be unique by entry as it essentially sets the look-up key for a table of preview buffers. Nevertheless, I'm also a bit confused that this doesn't break preview 😅 I'll have to check some more.
return "neoclip_" .. entry.idx I think works (I looked briefly into this a couple of days ago).
This somewhat speeds up the preview for my; however it's still rather slow for some reason. I'll try to think about this some more.
There was a problem hiding this comment.
Thanks @fdschmidt93, really appreciate you're insight here :)
Yeah I was also surprised that the preview worked at all like this. I just put it like this first as a test and assumed that all previews would be the same, but it kept working and even seemed smoother when I tried it.
There was a problem hiding this comment.
@fdschmidt93 just wondering if you had time to give this some thought :)
No description provided.