Add minor refactorings (#754)

This commit is contained in:
Marcin Puc
2021-09-04 20:01:19 +02:00
committed by GitHub
parent 7db0c03621
commit 1478d079ca
21 changed files with 119 additions and 147 deletions

View File

@@ -48,9 +48,9 @@ fn upgrade(vim: &Path, vimrc: &Path, ctx: &ExecutionContext) -> Result<()> {
let output = ctx
.run_type()
.execute(&vim)
.args(&["-u"])
.arg("-u")
.arg(vimrc)
.args(&["-U", "NONE", "-V1", "-nNesS"])
.args(["-U", "NONE", "-V1", "-nNesS"])
.arg(tempfile.path())
.output()?;