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: pickers: Redraw telescope picker always when screen is resized #2140

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

Akianonymus
Copy link
Contributor

@Akianonymus Akianonymus commented Aug 20, 2022

Description

Resize telescope picker everytime screen is resized. Currently it set adds once in autocmd opts it triggers only one time

Type of change

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

How Has This Been Tested?

  • Open Telescope find_files, resize multiple times, it should properly resize

Checklist:

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

@Akianonymus
Copy link
Contributor Author

Before:

simplescreenrecorder-2022-08-20_16.02.31.mp4

After:

simplescreenrecorder-2022-08-20_16.01.04.mp4

Copy link
Member

@fdschmidt93 fdschmidt93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks :)

@fdschmidt93 fdschmidt93 merged commit 3e944f0 into nvim-telescope:master Aug 24, 2022
Conni2461 pushed a commit that referenced this pull request Aug 26, 2022
Due to regression from switching
to lua autocmd api pickers
 were resized only once.

(cherry picked from commit 3e944f0)
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.

None yet

2 participants