dotfiles/salt/states/vim.sls

8 lines
258 B
Plaintext
Raw Permalink Normal View History

{% for plugin, args in pillar['vim']['plugins'].items() %}
2020-07-31 13:12:20 +00:00
{{ plugin }}:
git.latest:
- name: {{ args['name'] }}
- target: {{ salt['user.info']( pillar['username'] ).home }}/.vim/bundle/{{ plugin }}
- user: {{ pillar['username'] }}
2020-07-31 13:12:20 +00:00
{% endfor %}