feat: auto install plugins

This commit is contained in:
max_richter 2021-08-19 16:42:49 +02:00
parent b7422ca71b
commit b5f56f8c15

View File

@ -2,8 +2,10 @@ local o = vim.o
local opt = vim.opt
local g = vim.g
local paq = require("paq");
require("install-paq")
require("paq"):setup({verbose=true}) {
paq:setup({verbose=true}) {
{url="git@github.com:savq/paq-nvim"}, -- Let Paq manage itself
-- Theming Plugins
{url="git@github.com:kaicataldo/material.vim", branch = "main"},
@ -26,6 +28,12 @@ require("paq"):setup({verbose=true}) {
{url="git@github.com:akinsho/nvim-toggleterm.lua"}
}
local status = pcall(require, "material");
print(status);
if not(status) then
paq.sync();
end
local u = require("utils")