Added support for Voom for Vim packages (#232)
This commit is contained in:
committed by
Roey Darwish Dror
parent
f6ca350ebc
commit
b9125f88a9
@@ -94,6 +94,7 @@ Just run `topgrade`. It will run the following steps:
|
||||
* [Vundle](https://github.com/VundleVim/Vundle.vim)
|
||||
* [Plug](https://github.com/junegunn/vim-plug)
|
||||
* [Dein](https://github.com/Shougo/dein.vim)
|
||||
* [Voom](https://github.com/airblade/voom)
|
||||
* Node
|
||||
* Run `yarn global update` if yarn is installed.
|
||||
* Run `npm update -g` if NPM is installed and `npm root -g` is a path inside your home directory.
|
||||
|
||||
@@ -386,6 +386,12 @@ fn run() -> Result<(), Error> {
|
||||
|| vim::upgrade_neovim(&base_dirs, run_type),
|
||||
config.no_retry(),
|
||||
)?;
|
||||
execute(
|
||||
&mut report,
|
||||
"voom",
|
||||
|| vim::run_voom(&base_dirs, run_type),
|
||||
config.no_retry(),
|
||||
)?;
|
||||
}
|
||||
|
||||
if config.should_run(Step::Node) {
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user