Skip to content

Commit

Permalink
ordinals instead of indexes when listing grammar fetch errors (#3773)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrichter authored Sep 10, 2022
1 parent fae9203 commit 01ee42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-loader/src/grammar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub fn fetch_grammars() -> Result<()> {
let len = errors.len();
println!("{} grammars failed to fetch", len);
for (i, error) in errors.into_iter().enumerate() {
println!("\tFailure {}/{}: {}", i, len, error);
println!("\tFailure {}/{}: {}", i + 1, len, error);
}
}

Expand Down

0 comments on commit 01ee42b

Please sign in to comment.