dotfiles/config/automatrop/roles/vim/handlers/main.yml

13 lines
455 B
YAML

---
- name: Upgrade Neovim plugins
ansible.builtin.command: nvim +PlugUpgrade +PlugUpdate +PlugInstall +qall!
listen: nvim plugins changed
environment:
VIMINIT: source {{ ansible_user_dir }}/.config/nvim/plugininstall.vim
- name: Upgrade Vim plugins
ansible.builtin.command: vim +PlugUpgrade +PlugUpdate +PlugInstall +qall!
listen: vim plugins changed
environment:
VIMINIT: source {{ ansible_user_dir }}/.config/vim/plugininstall.vim