feat(nvim): add updates for Packer and Mason to install, setup, and update scripts

This commit is contained in:
Stefan Imhoff
2022-09-09 15:26:25 +02:00
parent af600dbbbf
commit 61426761d3
3 changed files with 6 additions and 2 deletions

View File

@@ -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]

View File

@@ -1,4 +1,4 @@
#!/bin/sh
vim -u ~/.vimrc +PlugInstall +qall
nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
nvim +Mason +15sleep +qall

2
zshrc
View File

@@ -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
}