Add a parser for the todo keyword's value.
This commit is contained in:
@@ -25,5 +25,19 @@ pub fn scan_for_in_buffer_settings<'s>(
|
||||
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
||||
fn in_buffer_settings_key<'s>(input: OrgSource<'s>) -> Res<OrgSource<'s>, OrgSource<'s>> {
|
||||
alt((tag_no_case("todo"), tag_no_case("setupfile")))(input)
|
||||
alt((
|
||||
tag_no_case("archive"),
|
||||
tag_no_case("category"),
|
||||
tag_no_case("columns"),
|
||||
tag_no_case("filetags"),
|
||||
tag_no_case("link"),
|
||||
tag_no_case("priorities"),
|
||||
tag_no_case("property"),
|
||||
tag_no_case("seq_todo"),
|
||||
tag_no_case("setupfile"),
|
||||
tag_no_case("startup"),
|
||||
tag_no_case("tags"),
|
||||
tag_no_case("todo"),
|
||||
tag_no_case("typ_todo"),
|
||||
))(input)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user