Add PackerSync command
This commit is contained in:
parent
533d6d883a
commit
2f5a380eb1
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue