fix: clear buffer previewer fully for caching (#1201)

This commit is contained in:
fdschmidt93
2021-09-02 16:36:08 +02:00
committed by GitHub
parent 79c2ded6a8
commit ac42f0c26c

View File

@@ -1021,6 +1021,8 @@ previewers.buffers = defaulter(function(opts)
end
end
previewer_active = false
-- setup previewer fully anew for `builtin.{resume, pickers}`
self.state = nil
end,
dyn_title = function(_, entry)
return Path:new(from_entry.path(entry, true)):normalize(cwd)