@@ -1509,7 +1509,10 @@ mod cmd {
1509 return Ok(());
1509 return Ok(());
1512− let arg = args.get(0).context("argument missing")?.to_ascii_lowercase();
1514+ .context("argument missing")?
1515+ .to_ascii_lowercase();
1514 // Attempt to parse argument as a line ending.
1517 // Attempt to parse argument as a line ending.
1515 let line_ending = match arg {
1518 let line_ending = match arg {
@@ -1519,7 +1522,7 @@ mod cmd {
1519 arg if arg.starts_with("lf") => LF,
1522 arg if arg.starts_with("lf") => LF,
1520 arg if arg.starts_with("ff") => FF,
1523 arg if arg.starts_with("ff") => FF,
1521 arg if arg.starts_with("nel") => Nel,
1524 arg if arg.starts_with("nel") => Nel,
1522− _ => bail!("invalid line ending")
1525+ _ => bail!("invalid line ending"),
1525 doc_mut!(cx.editor).line_ending = line_ending;
1528 doc_mut!(cx.editor).line_ending = line_ending;