2021-07-02 22:57:07 +02:00
|
|
|
{% macro add_source(link, extra={}) -%}
|
|
|
|
{% set plugins.sources = plugins.sources + [(link, extra)] %}
|
|
|
|
{%- endmacro -%}
|
|
|
|
{% macro use_plugin(name) -%}
|
2021-07-03 14:13:25 +02:00
|
|
|
" START PLUGIN CONFIG {{ name }}
|
|
|
|
{% include 'plugins/' + name + '.j2' +%}
|
|
|
|
" END PLUGIN CONFIG {{ name }}
|
2021-07-02 22:57:07 +02:00
|
|
|
{%- endmacro -%}
|
|
|
|
|
2021-07-04 09:54:33 +02:00
|
|
|
" Visuals
|
2021-07-04 09:52:16 +02:00
|
|
|
{{ use_plugin('devicons') }}
|
2021-07-04 12:41:34 +02:00
|
|
|
{% if variant == 'nvim' %}
|
|
|
|
{{ use_plugin('specs') }}
|
|
|
|
{% endif %}
|
|
|
|
|
2021-07-04 22:47:10 +02:00
|
|
|
" Theme
|
|
|
|
source ~/.config/vim/theme.vim
|