Fix sorting of entity names.
This commit is contained in:
@@ -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>],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user