Closed AnirudhG07 closed 4 months ago
Thanks for the PR, but :sub()
can't handle CJK and Unicode characters, and I think it should be a built-in feature rather than something users have to manually patch. Closing in favor of https://github.com/sxyazi/yazi/issues/903
oh ok. No problem. Either ways, if this feature is available, it would be great.
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Hi, I made some changes in file.lua so that long names have extension visible. This is my code.
which will be added to the
init.lua
. One thing to do is to set max_length seperately for 3 windows. This is not worth a plugin, but can go in Tips area. Please review and let me know how I can make a PR for it.It looks like this, where filename is
iiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaannnnnnnnnnnnnnnnneeeeaaa.png
hehe :)