hindent icon indicating copy to clipboard operation
hindent copied to clipboard

Can't find hindent.yaml when executed from linked directory

Open alx741 opened this issue 8 years ago • 2 comments

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 ~

alx741 avatar Nov 09 '16 19:11 alx741

Here is probably why: https://github.com/chrisdone/hindent/blob/master/src/main/Path/Find.hs#L59

chrisdone avatar Nov 24 '16 09:11 chrisdone

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.

jlombera avatar Sep 13 '17 03:09 jlombera