Skip to content

Commit 5e6f5a9

Browse files
committed
Formatting fix
1 parent adf00e3 commit 5e6f5a9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,7 @@ fn new_temporary_buffer(on_save_command: Option<&str>) -> ApiResult<()> {
862862
api::command(&format!("sp {}", file.path().display()))?;
863863
api::command("set ft=markdown")?;
864864
if let Some(cmd) = on_save_command {
865-
api::command(&format!(
866-
"autocmd BufWritePre <buffer> :{}",
867-
cmd
868-
))?;
865+
api::command(&format!("autocmd BufWritePre <buffer> :{}", cmd))?;
869866
}
870867
Ok(())
871868
}

0 commit comments

Comments
 (0)