Added support for Voom for Vim packages (#232)

This commit is contained in:
Hugo Haas
2019-10-05 10:19:07 -07:00
committed by Roey Darwish Dror
parent f6ca350ebc
commit b9125f88a9
3 changed files with 15 additions and 0 deletions

View File

@@ -117,3 +117,11 @@ pub fn upgrade_neovim(base_dirs: &BaseDirs, run_type: RunType) -> Result<(), Err
print_separator(&format!("Neovim ({:?})", plugin_framework));
upgrade(&nvim, &nvimrc, plugin_framework, run_type)
}
pub fn run_voom(_base_dirs: &BaseDirs, run_type: RunType) -> Result<(), Error> {
let voom = require("voom")?;
print_separator("voom");
run_type.execute(voom).arg("update").check_run()
}