From c8aa56fe4755206b12255a4df921679fc433a610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 3 Oct 2021 12:30:09 +0200 Subject: [PATCH] Add vim plugin update --- user.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/user.yml b/user.yml index a747d08..974cef2 100644 --- a/user.yml +++ b/user.yml @@ -307,6 +307,11 @@ check_mode: false 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 # --force-sudo is required, as the script refuses to run # in a sudo environment (i.e. if the SUDO_USER env variable