idris-hackers / idris-mode

Idris syntax highlighting, compiler-supported editing, interactive REPL and more things for Emacs.
GNU General Public License v3.0
269 stars 70 forks source link

Regexp for recognising source directories was wrong. #633

Open jfdm opened 3 months ago

jfdm commented 3 months ago

Commit https://github.com/idris-hackers/idris-mode/commit/334fef6932a979fd3c59b26814c52682afc93406 introduced a loading error if given project which contains a source directory.

The error was along the lines of:

Error: Source file "Main.idr" is not in the source directory

We should introduce a test to capture this.