Skip to content

Commit

Permalink
ordinals instead of indexes when listing grammar fetch errors (helix-…
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrichter authored and Shekhinah Memmel committed Dec 11, 2022
1 parent 25ba373 commit de8d9e7
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 de8d9e7

Please sign in to comment.