We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e40e233 commit 3e644b8Copy full SHA for 3e644b8
2 files changed
lua/fzf-lua/class.lua
@@ -52,7 +52,7 @@ function Object:is(T)
52
end
53
54
function Object:__tostring()
55
- return "Object"
+ return string.format("Object %p", self)
56
57
58
function Object:__call(...)
lua/fzf-lua/previewer/builtin.lua
@@ -474,6 +474,8 @@ function Previewer.base:zero(_)
474
local act = string.format("execute-silent(mkdir %s && %s)",
475
libuv.shellescape(self._zero_lock),
476
shell.stringify_data(function(_, _, _)
477
+ -- upvalue incase previewer was detached/re-attached (global picker)
478
+ self = self.win._previewer or self
479
vim.defer_fn(function()
480
if self.win:validate_preview() then
481
self:clear_preview_buf(true)
0 commit comments