We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d8b6ea commit e926a1bCopy full SHA for e926a1b
lua/telescope/previewers/buffer_previewer.lua
@@ -416,9 +416,9 @@ previewers.new_buffer_previewer = function(opts)
416
417
function opts.preview_fn(self, entry, status)
418
local preview_winid = status.layout.preview and status.layout.preview.winid
419
+ preview_window_id = preview_winid
420
if get_bufnr(self) == nil then
421
set_bufnr(self, api.nvim_win_get_buf(preview_winid))
- preview_window_id = preview_winid
422
end
423
424
if opts.get_buffer_by_name and get_bufnr_by_bufname(self, opts.get_buffer_by_name(self, entry)) then
0 commit comments