hindent
hindent copied to clipboard
Can't find hindent.yaml when executed from linked directory
I have a project in a secondary HDD, and a link to it in my home ~
, when I execute hindent from there it is unable to find my .hindent.yaml
file in ~
Here is probably why: https://github.com/chrisdone/hindent/blob/master/src/main/Path/Find.hs#L59
The same problem occurs if the project is not located in the $HOME tree hierarchy (e.g. /src/project/). So in general, a more robust way of searching for ~/.hindent.yaml is required.