mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
This ensures that typing '```java' and pressing enter would result in getting dropped into a java codeblock instead of javascript codeblock. We implement this by pushing the exact match of a query to be pushed to the top of the returned matches in `sort_languages`. With some comments added by tabbott in the tests explaining the current reasoning. Fixes #13109.