perf(yanky): remove performance optim for sqlite since it has been merged upstream

This commit is contained in:
Folke Lemaitre 2024-05-15 18:09:55 +02:00
parent c70a78e631
commit f25ac504b8
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -28,11 +28,5 @@ return {
{ "=p", "<Plug>(YankyPutAfterFilter)", desc = "Put After Applying a Filter" },
{ "=P", "<Plug>(YankyPutBeforeFilter)", desc = "Put Before Applying a Filter" },
},
config = function(_, opts)
require("yanky").setup(opts)
local sqlite = require("yanky.storage.sqlite")
local push = sqlite.push
sqlite.push = vim.schedule_wrap(push)
end,
},
}