paulbsd-salt/states/neovim/themes.sls

15 lines
409 B
Plaintext
Raw Normal View History

2022-05-14 11:23:16 +02:00
---
{%- from "neovim/map.jinja" import neovim with context %}
{%- for key, value in neovim.themes.items() %}
neovim-{{ value.name }}-theme:
file.managed:
- name: {{ neovim.colors_dir }}/{{ value.name }}.vim
- source: {{ value.url }}
- skip_verify: true
- user: root
- group: root
- mode: 0644
- require:
- pkg: neovim-pkg
- file: neovim-colors-directory
{%- endfor %}