paulbsd-salt/states/vim/themes.sls
2020-07-10 00:58:55 +02:00

15 lines
388 B
Plaintext

---
{%- from "vim/map.jinja" import vim with context %}
{%- for key, value in vim.themes.items() %}
vim-{{ value.name }}-theme:
file.managed:
- name: {{ vim.colors_dir }}/{{ value.name }}.vim
- source: {{ value.url }}
- skip_verify: True
- user: root
- group: root
- mode: 0644
- require:
- pkg: vim-pkg
- file: vim-colors-directory
{%- endfor %}