echasnovski / mini.nvim

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

Number being shown in mini.files when asking for confirmation #938

Closed augustocdias closed 4 months ago

augustocdias commented 4 months ago

Contributing guidelines

Module(s)

Mini.files

Description

When I modify a buffer, go back to a parent folder and press q it prepends a number before the file/folder name. It seems it some sort of index for each entry in the file tree. See the prints bellow:

image image

Neovim version

0.10

Steps to reproduce

  1. Open mini.files
  2. Navigate to some folder and add a new file
  3. Navigate to parent and press q

A number will be prepended to the folder name under the cursor.

Expected behavior

No response

Actual behavior

Text is prepended to folder names as shown in the pictures.

echasnovski commented 4 months ago

Thanks for the issue!

I can not reproduce this. I am pretty sure that this is an issue with 'noice.nvim' which modifies 'conceallevel' of that window.

The text shown is already there and it is how 'mini.files' can track what file system manipulation should be done.

Even if it can be reproduced, I don't think it is either a) an issue with 'mini.files' and b) a big enough issue to be tracked and fixed (as it is only present in not current window after an intention to close explorer).

Closing as "probably not an issue with 'mini.files' and not a huge issue per se".