Update lvim

This commit is contained in:
Smirnov-O 2021-09-12 23:27:06 +03:00
parent d1af9278c5
commit 0b99d6c75c
9 changed files with 25 additions and 38 deletions

View file

@ -1,18 +0,0 @@
local pack_path = vim.fn.stdpath("data") .. "/site/pack"
local fmt = string.format
local function ensure(user, repo)
local install_path = fmt("%s/packer/start/%s", pack_path, repo, repo)
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
vim.api.nvim_command(fmt("!git clone https://github.com/%s/%s %s", user, repo, install_path))
vim.api.nvim_command(fmt("packadd %s", repo))
end
end
ensure("wbthomason", "packer.nvim")
ensure("Olical", "aniseed")
vim.g["aniseed#env"] = {
module = "config.init",
compile = true,
}