We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf00e3 commit 5e6f5a9Copy full SHA for 5e6f5a9
src/lib.rs
@@ -862,10 +862,7 @@ fn new_temporary_buffer(on_save_command: Option<&str>) -> ApiResult<()> {
862
api::command(&format!("sp {}", file.path().display()))?;
863
api::command("set ft=markdown")?;
864
if let Some(cmd) = on_save_command {
865
- api::command(&format!(
866
- "autocmd BufWritePre <buffer> :{}",
867
- cmd
868
- ))?;
+ api::command(&format!("autocmd BufWritePre <buffer> :{}", cmd))?;
869
}
870
Ok(())
871
0 commit comments