{% macro add_source(link, extra={}) -%} {% set plugins.sources = plugins.sources + [(link, extra)] %} {%- endmacro -%} {% macro use_plugin(name) -%} " START PLUGIN CONFIG {{ name }} {% include 'plugins/' + name + '.j2' +%} " END PLUGIN CONFIG {{ name }} {%- endmacro -%} " Visuals {{ use_plugin('devicons') }} {% if variant == 'nvim' %} {{ use_plugin('specs') }} {% endif %} " Theme source ~/.config/vim/theme.vim