Add support for the ast entity.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded

This commit is contained in:
Tom Alexander 2023-08-25 04:28:24 -04:00
parent 45e16fea2d
commit 3a38f4cd35
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -45,7 +45,11 @@ fn name<'r, 's>(
// TODO: This should be defined by org-entities and optionally org-entities-user
// TODO: Add the rest of the entities, this is a very incomplete list
let (remaining, proto) = alt((alt((tag_no_case("delta"), tag_no_case("pi"))),))(input)?;
let (remaining, proto) = alt((alt((
tag_no_case("delta"),
tag_no_case("pi"),
tag_no_case("ast"),
)),))(input)?;
Ok((remaining, proto))
}