You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I want to change
indent-size
to 4, so I created.hindent.yaml
and addedindent-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
fromSystemDirectory
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 theMyFile.hs
, theindent-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.
The text was updated successfully, but these errors were encountered: