telescope.nvim
telescope.nvim copied to clipboard
not be able to preview "no name" in talescope tabs
Description
not be able to preview "no name" in talescope tabs
Neovim version
NVIM v0.11.0-dev-358+g6a886a251
Operating system and version
linux
Telescope version / branch / rev
latest
checkhealth telescope
==============================================================================
telescope: health#telescope#check
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- OK rg: found ripgrep 13.0.0
- WARNING fd: not found. Install [sharkdp/fd](https://github.com/sharkdp/fd) for extended capabilities
===== Installed extensions ===== ~
Telescope Extension: `aerial` ~
- No healthcheck provided
Telescope Extension: `telescope-tabs` ~
- No healthcheck provided
Steps to reproduce
- open a new tab
- type something
- use :Telescope telescope-tabs list_tabs
Expected behavior
see preview
Actual behavior
no preview on no named tabs
Minimal config
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs { "config", "data", "state", "cache" } do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
vim.fn.system {
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
lazypath,
}
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
{
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
-- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
require("telescope").setup {}
end,
},
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
fire ticket to LukasPietzschmann/telescope-tabs, so close it.
This PR might be relevant. telescope itself currently doesn't handle previews of buffer's real contents too well currently.
If telescope-tabs is using the buffer previewer from telescope core, it well not be able to preview unwritten buffers.