paulbsd-salt/states/neovim/themes.sls

16 lines
399 B
Plaintext
Raw Permalink Normal View History

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