Fix sorting of entity names.

This commit is contained in:
Tom Alexander
2023-10-08 23:31:19 -04:00
parent fc17fc224c
commit c679a85e77
3 changed files with 281 additions and 279 deletions

View File

@@ -50,6 +50,8 @@ pub struct GlobalSettings<'g, 's> {
/// The special characters that can be written in org-mode like \infin for the infinity symbol.
///
/// MUST be sorted with the largest names first. Otherwise the parser may match a shorter substring of a longer entity.
///
/// Corresponds to org-entities elisp variable.
pub entities: &'g [EntityDefinition<'s>],
}