2022-05-14 11:23:16 +02:00
|
|
|
---
|
|
|
|
{%- from "neovim/map.jinja" import neovim with context %}
|
|
|
|
neovim-plugin-git-dep:
|
|
|
|
pkg.installed:
|
|
|
|
- pkgs:
|
|
|
|
- git
|
|
|
|
- python3-jedi
|
|
|
|
- yamllint
|
|
|
|
|
|
|
|
neovim-plugin-dirs:
|
|
|
|
file.directory:
|
|
|
|
- name: {{ neovim.plugins_dir }}
|
|
|
|
- makedirs: true
|
|
|
|
|
|
|
|
{%- for key, value in neovim.plugins.items() %}
|
|
|
|
neovim-plugin-{{ value.name }}:
|
|
|
|
git.latest:
|
|
|
|
- name: {{ value.repo }}
|
|
|
|
- target: {{ neovim.plugins_dir }}/{{ value.name }}
|
2022-07-16 00:48:49 +02:00
|
|
|
- rev: {{ value.rev|default('HEAD') }}
|
|
|
|
- force_reset: true
|
2022-05-14 11:23:16 +02:00
|
|
|
- submodules: true
|
|
|
|
{%- endfor %}
|