echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.74k stars 179 forks source link

mini.starter draws its buffer inside telescope's prompt on startup #827

Closed GuiltiTer closed 4 months ago

GuiltiTer commented 4 months ago

Contributing guidelines

Module(s)

mini.starter

Description

When starting NeoVim using nvim -c "Telescope find_files", NeoVim opens Telescope on startup, then starter draws its buffer inside the Telescope's prompt.

Neovim version

0.9.5

Steps to reproduce

  1. mini.starter is enabled and autoopen=true
  2. nvim -c "Telescope find_files"

Expected behavior

To mini.starter draw its buffer behind the Telescope's picker, or draw nothing at all.

Actual behavior

mini.starter draws its buffer inside Telescope's prompt.

Screenshot 2024-04-20 at 21 50 20
GuiltiTer commented 4 months ago

Assigning a priority higher than Telescope didn't work as well.

echasnovski commented 4 months ago

Thanks for the issue! I can reproduce. Will take a look at the best way to update how 'mini.starter' decides when it should show itself at the startup.

echasnovski commented 4 months ago

This should now be fixed on latest main.

GuiltiTer commented 4 months ago

Awesome! works perfectly fine👌