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 use_syntax: true
themes: themes:
monokai: monokai:
name: monokai
url: https://raw.githubusercontent.com/sickill/vim-monokai/master/colors/monokai.vim url: https://raw.githubusercontent.com/sickill/vim-monokai/master/colors/monokai.vim
plugins: {} plugins: {}

View File

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

View File

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