updated neovim state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-08-29 18:00:51 +02:00
parent b01f06564f
commit 00c62302e8
3 changed files with 8 additions and 9 deletions

View File

@ -87,6 +87,5 @@ neovim:
use_syntax: true
themes:
monokai:
name: monokai
url: https://raw.githubusercontent.com/sickill/vim-monokai/master/colors/monokai.vim
plugins: {}

View File

@ -12,11 +12,11 @@ neovim-plugin-dirs:
- name: {{ neovim.plugins_dir }}
- makedirs: true
{%- for key, value in neovim.plugins.items() %}
neovim-plugin-{{ value.name }}:
{%- for name, value in neovim.plugins.items() %}
neovim-plugin-{{ name }}:
git.latest:
- name: {{ value.repo }}
- target: {{ neovim.plugins_dir }}/{{ value.name }}
- name: {{ value.url }}
- target: {{ neovim.plugins_dir }}/{{ name }}
- rev: {{ value.rev|default('HEAD') }}
- force_reset: true
- submodules: true

View File

@ -1,9 +1,9 @@
---
{%- from "neovim/map.jinja" import neovim with context %}
{%- for key, value in neovim.themes.items() %}
neovim-{{ value.name }}-theme:
{%- for name, value in neovim.themes.items() %}
neovim-{{ name }}-theme:
file.managed:
- name: {{ neovim.colors_dir }}/{{ value.name }}.vim
- name: {{ neovim.colors_dir }}/{{ name }}.vim
- source: {{ value.url }}
- skip_verify: true
- user: root
@ -12,4 +12,4 @@ neovim-{{ value.name }}-theme:
- require:
- pkg: neovim-pkg
- file: neovim-colors-directory
{%- endfor %}
{%- endfor %}