Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
obsidian--match-files finds all files with given basename & more
When issue licht1stein#64 was opened, obsidian--match-files was lazy, only the suffix was checked, so it found for 'aa.md' both 'aa.md' and 'baa.md'. Its solution broke the relative file name usage (e.g. [[aa.md]] was "found" in the inbox). To cover both use case the match needs to be either exact (relative to the vault root), or partial, where the searched file name prefixed with '/' is searched with s-ends-with-p. Fixes issue licht1stein#72.
- Loading branch information