2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
{%- from "vim/map.jinja" import vim with context %}
|
|
|
|
vim-plugin-dirs:
|
|
|
|
file.directory:
|
|
|
|
- name: {{ vim.plugins_dir }}
|
2020-09-12 17:41:35 +02:00
|
|
|
- makedirs: true
|
2020-07-10 00:58:55 +02:00
|
|
|
|
|
|
|
{%- for key, value in vim.plugins.items() %}
|
|
|
|
{{ value.name }}:
|
|
|
|
git.latest:
|
|
|
|
- name: {{ value.repo }}
|
2020-09-06 16:30:57 +02:00
|
|
|
- target: {{ vim.plugins_dir }}/{{ value.name }}
|
|
|
|
{%- endfor %}
|