Add vim plugin update

This commit is contained in:
2021-10-03 12:30:09 +02:00
parent cf12e48c41
commit 19ca3f7980

View File

@@ -307,6 +307,11 @@
check_mode: false check_mode: false
changed_when: vim_plugins_stdout.stdout_lines|length != 0 changed_when: vim_plugins_stdout.stdout_lines|length != 0
- name: update vim plugins
command: /usr/bin/nvim -f -E -s -c "source ~/.vimrc" +PlugUpdate +qall
register: vim_plugin_update
changed_when: vim_plugin_update.stdout_lines|length != 0
- name: compile youcompleteme - name: compile youcompleteme
# --force-sudo is required, as the script refuses to run # --force-sudo is required, as the script refuses to run
# in a sudo environment (i.e. if the SUDO_USER env variable # in a sudo environment (i.e. if the SUDO_USER env variable