dotfiles/playbooks/roles/shell/tasks/nvim.yml
Matej Focko 0b7969ad00
Switch mkdir from shell to file/directory
Closes #21

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-10-17 13:15:46 +02:00

12 lines
394 B
YAML

---
- name: Create init.vim
block:
- file:
path: ~/.config/nvim
state: directory
- template:
src: templates/init.vim.j2
dest: ~/.config/nvim/init.vim
- name: Install vim-plug
shell: sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'