From d4eaf556f8208e35fdf60c4646a46e121d04f00d Mon Sep 17 00:00:00 2001 From: Hugo Haas Date: Sun, 1 Jan 2023 13:55:15 -0600 Subject: [PATCH] Added support for Neovim package manager lazy.nvim (#293) * Added support for lazy.nvim From https://github.com/folke/lazy.nvim Authored-by: Jacob Lane Ledbetter --- config.example.toml | 2 ++ src/steps/upgrade.vim | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/config.example.toml b/config.example.toml index 00d4a205..d4fe9403 100644 --- a/config.example.toml +++ b/config.example.toml @@ -78,6 +78,8 @@ #arch_package_manager = "pacman" # Arguments to pass yay (or paru) when updating packages #yay_arguments = "--nodevel" +# Arguments to pass dnf when updating packages +#dnf_arguments = "--refresh" #aura_aur_arguments = "-kx" #aura_pacman_arguments = "" #show_arch_news = true diff --git a/src/steps/upgrade.vim b/src/steps/upgrade.vim index 5eac813e..95d9982c 100644 --- a/src/steps/upgrade.vim +++ b/src/steps/upgrade.vim @@ -38,6 +38,11 @@ if exists(":CocUpdateSync") CocUpdateSync endif +if exists(":Lazy") + echo "Lazy" + Lazy update +endif + " TODO: Should this be after `PackerSync`? " Not sure how to sequence this after Packer without doing something weird " with that `PackerComplete` autocommand.