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

The leaderf popup window won't change its size when opened second time #1083

Closed
2 of 6 tasks
zhyzky opened this issue Jun 18, 2024 · 2 comments
Closed
2 of 6 tasks

The leaderf popup window won't change its size when opened second time #1083

zhyzky opened this issue Jun 18, 2024 · 2 comments

Comments

@zhyzky
Copy link

zhyzky commented Jun 18, 2024

  • vim or neovim?
    • vim
    • neovim
  • Output of vim --version or nvim --version: 9.0
  • Output of :echo has("python"): 0
  • Output of :echo has("python3"): 1
  • Output of :echo &pythondll(only vim, not neovim):
  • Output of :echo &pythonthreedll(only vim, not neovim):
  • Output of :py print(sys.version):
  • Output of :py3 print(sys.version): 3.10.12
  • Output of :echo g:Lf_Debug_Cmd:
  • Output of :echo g:Lf_FilesFromCache:
  • Operating system:
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Configurations related to LeaderF in vimrc:
    let g:Lf_ShortcutF = "noexistkey"
    let g:Lf_ShortcutB = "noexistkey"
    let g:Lf_WindowPosition = 'popup'
    let g:Lf_StlSeparator = { 'left': '', 'right': '' }
    let g:Lf_HideHelp = 1
    let g:Lf_UseCache = 0
    let g:Lf_UseVersionControlTool = 0
    let g:Lf_IgnoreCurrentBufferName = 1
    let g:Lf_PreviewInPopup = 1
    let g:Lf_PreviewResult = {'Function': 0, 'BufTag': 0 }
    let g:Lf_WorkingDirectoryMode = 'Ac'

Describe your question, feature request, or bug.

When the popup window closed and reopened, its size will remain the same even if vim itself resized.

Steps to reproduce

First, open a leaderf popup window
Then close the leaderf window
Resize vim window
Reopen leaderf window

Actual behaviour

Leaderf window should change its size according to vim size

Expected behaviour

Leaderf window size remains the same
I think it has something todo with manager._is_previewed, that not set to false when closed.

@Yggdroot
Copy link
Owner

Actual behaviour
Leaderf window should change its size according to vim size

Expected behaviour
Leaderf window size remains the same
I think it has something todo with manager._is_previewed, that not set to false when closed.

I don't understand what you mean.
What is Actual behaviour and what is Expected behaviour?

@zhyzky
Copy link
Author

zhyzky commented Jun 18, 2024

Strange the issue gone. Just closed it!

@zhyzky zhyzky closed this as completed Jun 18, 2024
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

No branches or pull requests

2 participants