mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Update lvim
This commit is contained in:
parent
d1af9278c5
commit
0b99d6c75c
9 changed files with 25 additions and 38 deletions
|
|
@ -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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue