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

fix: wrap_results option breaking scrolling of results window #2322

Merged

Conversation

sultanahamer
Copy link
Contributor

@sultanahamer sultanahamer commented Jan 13, 2023

Description

wrap_results option was breaking scroll position of results window when sorting strategy is descending. Because of that users are not able to see the most relevant result on the results window unless manually scrolled. This behavior is now fixed

Fixes #1757

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Tested with files having long paths in multiple pickers like old_files, git_files
  • Tested with git commits picker

Configuration:

  • Neovim version (nvim --version):
NVIM v0.8.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.2/share/nvim"
  • Operating system and version: macos 12.6.2

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code

@sultanahamer sultanahamer changed the title Fix wrap_results option breaking scrolling of results window fix: wrap_results option breaking scrolling of results window Feb 5, 2023
@Conni2461
Copy link
Member

thanks :)

@Conni2461 Conni2461 merged commit 3d8bd0a into nvim-telescope:master Feb 19, 2023
Conni2461 pushed a commit that referenced this pull request Feb 19, 2023
@sultanahamer sultanahamer deleted the fix_wrap_results_breaking_scroll branch February 20, 2023 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nvim 'wrap_result' option make the first line of 'oldfiles picker' hidden
2 participants