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

关闭preview 后,popup window 的大小仍然是原来的一半 #1037

Open
2 of 6 tasks
sheeaza opened this issue Sep 16, 2023 · 4 comments
Open
2 of 6 tasks

关闭preview 后,popup window 的大小仍然是原来的一半 #1037

sheeaza opened this issue Sep 16, 2023 · 4 comments

Comments

@sheeaza
Copy link
Contributor

sheeaza commented Sep 16, 2023

  • vim or neovim?
    • vim
    • neovim
  • Output of vim --version or nvim --version:
  • Output of :echo has("python"):
  • Output of :echo has("python3"):
  • 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):
  • 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:
    • lua配置
    vim.g.Lf_PreviewResult = { 
            File = 0,          
            Tag = 0,           
            Function = 0,      
            Jumps = 0,         
            Mru = 0,           
            Rg = 0,            
            Line = 0,          
            Buffer = 0,        
    }                          
                           

Describe your question, feature request, or bug.

关闭preview后,期望popupwindow 大小能扩充到以下红框部分,也就是preview 窗口部分
屏幕截图 2023-09-16 095003

Steps to reproduce

Actual behaviour

Expected behaviour

@Yggdroot
Copy link
Owner

没有这个功能

@sheeaza
Copy link
Contributor Author

sheeaza commented Sep 18, 2023

没有这个功能

我其实是指,在默认preview 打开之前的版本,浮窗的大小是包含黄框部分的,现在默认打开preview 功能后,就变成上面这个样子了

@chenkui164
Copy link

我也是和楼主一样的使用习惯,使用的popupwindow,并关闭了preview功能。感觉右边空了一半,左边的又不够长,不能在一行的同时显示

@Yggdroot
Copy link
Owner

我也是和楼主一样的使用习惯,使用的popupwindow,并关闭了preview功能。感觉右边空了一半,左边的又不够长,不能在一行的同时显示

如果不使用preview,可以用g:Lf_PopupWidth或者--popup-width 来指定宽度,用g:Lf_PopupPosition 来指定左上角的位置。
当然预览窗口还可以放上面或下面。

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

3 participants