Append `/` to all directories in global search suggestion

The query produced by selecting an item from the suggestion list that appears in the context of the path: operator presents some issues
Obsidian_uafz0g59vq

  • for correctness, all directories should insert directoryname/ instead of just directoryname. Since the suggestion list’s goal is to filter according to a specific subdirectory, it is important to add the trailing / otherwise a note like directoryname.md ends being included in the results.
4 Likes