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

Results are hidden off-screen #3180

Closed
carbolymer opened this issue Jun 21, 2024 · 3 comments
Closed

Results are hidden off-screen #3180

carbolymer opened this issue Jun 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@carbolymer
Copy link

Description

When using builtin.find_files picker, the results are shown off window, but they are still accessible

Neovim version

NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info

Operating system and version

Archlinux

Telescope version / branch / rev

0.1.x

checkhealth telescope

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

Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.

Checking external dependencies ~
- OK rg: found ripgrep 14.1.0
- OK fd: found fd 10.1.0

===== Installed extensions ===== ~

Telescope Extension: `dap` ~
- No healthcheck provided

Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured

Telescope Extension: `ht` ~
- No healthcheck provided

Telescope Extension: `luasnip` ~
- No healthcheck provided

Telescope Extension: `zoxide` ~
- No healthcheck provided

Steps to reproduce

  1. open find_files picker
  2. start typing a file name

Expected behavior

The list of matching files is shown in the picker

Actual behavior

The list is hidden off-screen. You can sometimes get to the hidden entries using CTRL-P / CTRL-N. See the attached image:
image
Please note there are 12/257 matches, which are not shown in the window.

Minimal config

local t = require 'telescope'
  local builtin = require 'telescope.builtin'
  t.setup {
    defaults = {
      winblend = 20,
    },
    extensions = {
      fzf = {
        fuzzy = true, -- false will only do exact matching
        override_generic_sorter = true, -- override the generic sorter
        override_file_sorter = true, -- override the file sorter
        case_mode = "smart_case", -- or "ignore_case" or "respect_case"
        -- the default case_mode is "smart_case"
      }
    }
  }
@carbolymer carbolymer added the bug Something isn't working label Jun 21, 2024
@jamestrew
Copy link
Contributor

When was the last time you updated telescope? You might just need to update.

@DamienSynthesis
Copy link

I was having this same issue, turns out I had pinned the version to 0.1.2.
Updating to latest fixed it.

@carbolymer
Copy link
Author

I thought that I was on the latest 0.1.x, I updated few days ago with vim-plug. Turns out it didn't refresh the tag for me so I was actually using an older version. Seems to be working, thanks!

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

3 participants