Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picker results invisible or scrolled off screen #3185

Closed
dyllandry opened this issue Jun 25, 2024 · 1 comment
Closed

Picker results invisible or scrolled off screen #3185

dyllandry opened this issue Jun 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dyllandry
Copy link

Description

If I do :Telescope I'll see all the pickers available, like find_files, keymaps, diagnostics, etc. But if I type out "find_files" then the list becomes empty while the preview window shows the correct thing. If I press "enter" it correctly selects find_files despite it not showing in the picker. Seems the picker result is invisible but the preview is correct.

If type just "find" I'll only see "current_buffer_fuzzy_find" despite the preview screen showing the "find_files" result. If I press Ctrl-N I see "current_buffer_fuzzy_find" get selected and show in the preview window, and if I press Ctrl-N again I see find_files appear in the picker list and in the preview window. Seems here that the "find_files" picker result was scrolled off screen.

render1719329951078

Neovim version

NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478

Operating system and version

13.6.7 (22G720)

Telescope version / branch / rev

master 0.1.2

checkhealth telescope

telescope: require("telescope.health").check()

Checking for required plugins
- OK plenary installed.
- WARNING nvim-treesitter not found.

Checking external dependencies
- OK rg: found ripgrep 13.0.0
- OK fd: found fd 8.7.0

===== Installed extensions =====

Steps to reproduce

  1. :Telescope
  2. Type "find_files"

Expected behavior

No response

Actual behavior

Files didn't appear in picker.

Minimal config

--------------------------------------------------------------------------------
-- Install lazy.nvim plugin manager --------------------------------------------
--------------------------------------------------------------------------------

-- If lazy is not in user's data directory, git clone it.
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
    vim.fn.system({
        "git",
        "clone",
        "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git",
        "--branch=stable", -- latest stable release
        lazypath,
    })
end
-- Add lazy to runtimepath
vim.opt.rtp:prepend(lazypath)

--------------------------------------------------------------------------------
-- Plugins ---------------------------------------------------------------------
--------------------------------------------------------------------------------

-- Setup vim plugins using lazy
require("lazy").setup({
    -- Fuzzy file finder over any lists. Made of pickers, sorters, and
    -- previewers, it can be used to find files, language server results, and
    -- more.
    {
        'nvim-telescope/telescope.nvim',
        tag = '0.1.2',
        dependencies = { 'nvim-lua/plenary.nvim' },
        config = function()
            require('telescope').setup{}
        end
    },

})
@dyllandry dyllandry added the bug Something isn't working label Jun 25, 2024
@jamestrew
Copy link
Contributor

See #3178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants