I want to change indent-size to 4, so I created .hindent.yaml and added indent-size: 4 to this file. Since I don't want to copy this file to each project, I placed the file in my home directory which is C:\Users\Albert (getHomeDirectory from SystemDirectory returns also "C:\Users\Albert").
Now, if I do cat .\MyFile.hs | hindent, the setting in the .hindent.yaml is ignored. However, if the .hindent.yaml is placed near the MyFile.hs, the indent-size setting is found and applied just as it should.
Am I missing something? How can I pass the .hindent.yaml file to hindent from my home directory on Windows? Hindent version is 5.3.4.
Thank you for your answer in advance.