-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filename comparison is too strict. #10
Comments
Yep. There's unfortunately no good Idris library for normalizing file names right now, so this is a bit inconvenient. |
Though it looks like you're adding a bit of a hack that fixes it for some cases, at least :-) |
I don't think that this is fixed yet, because it really should use a filename normalization relative to the current working directory. But the situation is better. |
Yeah, I know its a hack, but without a good file path library, it is the best I could think off. |
Definitely an improvement for everyday usability! When I was doing the code samples for my dissertation, I just had scripts that set everything up right. Which is obviously ridiculous. |
at least with this fix, my next paper will more than likely have semantic highlighting! |
Nice! |
It would also be nice to get .lidr support working in it. |
If the base name of the specified file is not made strictly relative, idrishl can fail.
For example:
idrishl Data.Fuel
failsidrishl ./Data.Fuel
worksI believe the filter predicate used in
sortedHighlights
inMain.idr
is not smart enough to work out thatData.Fuel
and./Data.Fuel
are the same file.The text was updated successfully, but these errors were encountered: