Add PackerSync command

This commit is contained in:
flyingscorpio@clevo 2022-07-29 12:27:29 +02:00
parent 533d6d883a
commit 2f5a380eb1
2 changed files with 6 additions and 1 deletions

View file

@ -3,7 +3,7 @@ lua require('encoding')
lua require('remaps')
lua require('spacetabs')
lua require('plugins')
lua require('colors')
"lua require('colors')
"set runtimepath^=~/.vim runtimepath+=~/.vim/after
"let &packpath = &runtimepath

View file

@ -75,3 +75,8 @@
copy:
src: lua
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