Skip to content

Commit 75cde13

Browse files
authored
Merge pull request #1140 from DasNaCl/feature/zref-clever
Add basic zref/zref-clever label commands.
2 parents 1888c08 + f757cae commit 75cde13

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crates/parser/src/config.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static DEFAULT_CITATION_COMMANDS: &[&str] = &[
170170
"citeA*",
171171
];
172172

173-
static DEFAULT_LABEL_DEFINITION_COMMANDS: &[&str] = &["label"];
173+
static DEFAULT_LABEL_DEFINITION_COMMANDS: &[&str] = &["label", "zlabel"];
174174

175175
static DEFAULT_LABEL_REFERENCE_COMMANDS: &[&str] = &[
176176
"ref",
@@ -182,6 +182,10 @@ static DEFAULT_LABEL_REFERENCE_COMMANDS: &[&str] = &[
182182
"cref*",
183183
"Cref",
184184
"Cref*",
185+
"zcref",
186+
"zcref*",
187+
"zcpageref",
188+
"zcpageref*",
185189
"namecref",
186190
"nameCref",
187191
"lcnamecref",

0 commit comments

Comments
 (0)