Fix: create autoload directory before downloading plug.vim

This commit is contained in:
Bertrand Benjamin 2020-05-26 09:17:43 +02:00
parent ad4c081b62
commit 7789449913
1 changed files with 7 additions and 1 deletions

View File

@ -122,6 +122,13 @@
with_items: "{{ me }}"
when: editor == 'nvim'
- name: dotfiles -- Creates nvim/autoload/
file:
path: /home/{{ item.username }}/.config/nvim/autoload/
state: directory
with_items: "{{ me }}"
when: editor == 'nvim'
- name: dotfiles -- Download plug.vim for nvim
get_url:
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
@ -131,7 +138,6 @@
with_items: "{{ me }}"
when: editor == 'nvim'
# Alacritty terminal
- name: dotfiles -- Copy alacritty config
copy: