PackerSync command still doesn't work

This commit is contained in:
flyingscorpio@clevo 2022-07-29 20:06:28 +02:00
parent 2f5a380eb1
commit 3e38443155

View file

@ -77,6 +77,6 @@
dest: ~/.config/nvim/
- name: Run PackerSync
command: "nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'"
register: result
changed_when: "'Everything already up to date' not in result.stdout" # TODO: finish this, it will never run with headless
command:
cmd: vim +'autocmd User PackerComplete quitall' +PackerSync #TODO: make this work
stdin: '\n' # On error needs user input to continue