The query produced by selecting an item from the suggestion list that appears in the context of the path:
operator presents some issues
- for correctness, all directories should insert
directoryname/
instead of justdirectoryname
. Since the suggestion list’s goal is to filter according to a specific subdirectory, it is important to add the trailing/
otherwise a note likedirectoryname.md
ends being included in the results.