Is it possible to set preview width based on preview type? #1984
-
Contributing guidelines
Module(s)mini.files QuestionI'd like to have a wide preview when I'm previewing a source code file but when I'm previewing a directory I would prefer if it used the default unfocused width. What I would like is to be able to pass a function to width_preview so I can configure it based on preview type but I'm not sure if there's a way to do this already. Alternatively, it would be nice to only enable preview on leaf nodes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is currently not possible and chances are never will be. Se #896 for more details. But I am currently thinking about maybe supporting a dedicated width for file previews. Not yet sure about it. |
Beta Was this translation helpful? Give feedback.
It is currently not possible and chances are never will be. Se #896 for more details. But I am currently thinking about maybe supporting a dedicated width for file previews. Not yet sure about it.