paulbsd-salt/states/vim/plugins.sls

22 lines
460 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "vim/map.jinja" import vim with context %}
2021-08-03 17:44:31 +02:00
vim-plugin-git-dep:
pkg.installed:
2021-08-19 21:16:41 +02:00
- pkgs:
- git
- python3-jedi
- yamllint
2021-08-03 17:44:31 +02:00
2020-07-10 00:58:55 +02:00
vim-plugin-dirs:
file.directory:
- name: {{ vim.plugins_dir }}
2020-09-12 17:41:35 +02:00
- makedirs: true
2020-07-10 00:58:55 +02:00
{%- for key, value in vim.plugins.items() %}
2021-06-14 23:06:32 +02:00
vim-plugin-{{ value.name }}:
2020-07-10 00:58:55 +02:00
git.latest:
- name: {{ value.repo }}
2020-09-06 16:30:57 +02:00
- target: {{ vim.plugins_dir }}/{{ value.name }}
2021-08-19 21:16:41 +02:00
- submodules: true
2020-09-06 16:30:57 +02:00
{%- endfor %}