-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add used language names to front of list
Previously, when a truly new language was used, it was added to the front of the list as returned by `markdown-gfm-get-corpus`. However, when a known language was used it was simply kept in position in the list of recognized languages. This yielded unexpected results with ido, helm, etc. Now, we add all used languages to the history list `markdown-gfm-used-languages`. This list is then prepended to the list of recognized languages and returned by `markdown-gfm-get-corpus`.
- Loading branch information
Showing
2 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters