13 lines
318 B
Plaintext
13 lines
318 B
Plaintext
|
---
|
||
|
{%- from "vim/map.jinja" import vim with context %}
|
||
|
vim-plugin-dirs:
|
||
|
file.directory:
|
||
|
- name: {{ vim.plugins_dir }}
|
||
|
- makedirs: True
|
||
|
|
||
|
{%- for key, value in vim.plugins.items() %}
|
||
|
{{ value.name }}:
|
||
|
git.latest:
|
||
|
- name: {{ value.repo }}
|
||
|
- target: {{ vim.plugins_dir}}/{{ value.name }}
|
||
|
{%- endfor %}
|