dotfiles/salt/states/vim.sls
2020-07-31 15:12:20 +02:00

10 lines
286 B
Plaintext

{% for user, plugins in pillar['vim']['plugins'].items() %}
{% for plugin, args in plugins.items() %}
{{ plugin }}:
git.latest:
- name: {{ args['name'] }}
- target: {{ salt['user.info']( user ).home }}/.vim/bundle/{{ plugin }}
- user: {{ user }}
{% endfor %}
{% endfor %}