This commit is contained in:
parent
b01f06564f
commit
00c62302e8
@ -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: {}
|
||||
|
@ -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
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user