chadtree
chadtree copied to clipboard
CHADTree seems to convert file's name to lowercase
Greetings!
I'd like to make an issue of when I open a file by CHADTree, my file is loaded into buffer but its name is converted to lowercase, so once I execute :w
, the file name would be overwritten as lowercase on the disk.
before :w
(even lualine and bufferline shows it as lowercase):
after :w
:
Why do I think it's CHADTree related? I simply did these steps to prove that this is only caused by CHADTree:
- Run nvim without CHADTree plugged, open my file by original vim explorer and it preserves my filename.
- More further, I try plugging NERDTree again, open the same file and my filename is preserved too.
I haven't had this issue before, maybe new updates broke it or maybe I just installed Windows 11 Beta.
I am also having this issue and think it is related to CHADtree
I am having the same problem with Windows 10, so it does not depend on the Windows version.
Looks like this is caused by the behaviour of os.path.normcase
on Windows.