From 61426761d38fdb4603da9ceafa8caf6ed7220b97 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 9 Sep 2022 15:26:25 +0200 Subject: [PATCH] feat(nvim): add updates for Packer and Mason to install, setup, and update scripts --- .dotbot.conf.yaml | 2 ++ setup/vim.sh | 4 ++-- zshrc | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.dotbot.conf.yaml b/.dotbot.conf.yaml index e2ae9ac..de051a8 100644 --- a/.dotbot.conf.yaml +++ b/.dotbot.conf.yaml @@ -29,3 +29,5 @@ - shell: - [git submodule update --init --recursive, Installing submodules] - [~/.tmux/plugins/tpm/scripts/install_plugins.sh >/dev/null 2>&1, Installing tmux plugins] + - [nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync', Installing Neovim Packer plugins] + - [nvim +Mason +15sleep +qall, Installing Neovim Mason plugins] diff --git a/setup/vim.sh b/setup/vim.sh index 709ad96..b6fb39a 100755 --- a/setup/vim.sh +++ b/setup/vim.sh @@ -1,4 +1,4 @@ #!/bin/sh -vim -u ~/.vimrc +PlugInstall +qall - +nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync' +nvim +Mason +15sleep +qall diff --git a/zshrc b/zshrc index 9050413..5e3f78c 100644 --- a/zshrc +++ b/zshrc @@ -93,6 +93,8 @@ function update () { pip list -o --format columns| cut -d' ' -f1|xargs -n1 pip install -U npm update npm -g npm update -g + nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync' + nvim +Mason +15sleep +qall sudo softwareupdate -i -a }