chadtree icon indicating copy to clipboard operation
chadtree copied to clipboard

CHADTree seems to convert file's name to lowercase

Open duydang2311 opened this issue 3 years ago • 3 comments

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): before image image

after :w: after

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.

duydang2311 avatar Sep 14 '21 14:09 duydang2311

I am also having this issue and think it is related to CHADtree

aloussase avatar Nov 07 '21 14:11 aloussase

I am having the same problem with Windows 10, so it does not depend on the Windows version.

RefusesNames avatar Feb 09 '22 20:02 RefusesNames

Looks like this is caused by the behaviour of os.path.normcase on Windows.

duydang2311 avatar Feb 17 '22 09:02 duydang2311