[mini.files] Add slash suffix to directories #2216
-
Contributing guidelines
Module(s)mini.files QuestionIs it possible now to add a slash to directories? Unfortunately I'm using macOS terminal right now, and icons from mini.icons do not work, so the only way to distinguish directories and files is by its color. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you please elaborate on "icons from mini.icons do not work"? If there is a font that doesn't support Nerd Font glyphs, then there are couple of options here:
|
Beta Was this translation helpful? Give feedback.



There is no built-in way to do that, as differentiating via custom prefix (icon by default) and highlight group should be enough.
I also think (not 100%, but ~95% sure) that there is no way to do that since 'mini.files' relies on the basename being the same as it expects it to. I.e. without slash. Somehow adding trailing slashes to directory will make 'mini.files' think that that directory was "renamed" from
dirnametodirname/. It doesn't look like a good idea to adjust the code to take this use case into account.