Global search shows duplicate/non-applicable results
Affected version
Steps to reproduce
- Open a Markdown document.
- Ctrl-Enter, type "preview".
- Select the first result ("Open Preview").
Current behavior
- Search results list "Open Preview" three times (seems like they are for ReST, Markdown, and possibly HTML?)
- Selecting the first result opens an attempted ReST preview of the Markdown document.
Expected behavior
- If some search results share the same name, some more context should be provided to disambiguate.
- Non-applicable commands shouldn't be listed in the search results.