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