Closed spywhere closed 3 years ago
Hi, I can't help but notice that the project contains producer.vim.currentbuffer which to me it seems to populate what I want (a content to search for). Now, I already tried to figure out how to use it and here's the result...
producer.vim.currentbuffer
local snap = require('snap') snap.run({ producer = snap.get('producer.vim.currentbuffer'), select = snap.get('select.currentbuffer').select, })
And as you can see, the producer does indeed populate the content of current file, but the filtering is not working.
So, could you help on how to setup or see why the filtering is not properly working?
nvm, got it working with
local snap = require('snap') snap.run({ producer = snap.get('consumer.fzf')(snap.get('producer.vim.currentbuffer')), select = snap.get('select.currentbuffer').select })
Hi, I can't help but notice that the project contains
producer.vim.currentbuffer
which to me it seems to populate what I want (a content to search for). Now, I already tried to figure out how to use it and here's the result...And as you can see, the producer does indeed populate the content of current file, but the filtering is not working.
So, could you help on how to setup or see why the filtering is not properly working?