blob: c14a4672750fa790a8f8463933826da433373c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
local fmt = string.format
local run = vim.api.nvim_command
vim.opt.shadafile = "NONE"
local function ensure(user, repo)
local install_path = fmt("%s/site/pack/packer/start/%s", vim.fn.stdpath("data"), repo)
if vim.fn.empty(vim.fn.glob(install_path)) ~= 0 then
print(fmt("Pack '%s' not found, cloning to %s", repo, install_path))
run(fmt("!git clone https://github.com/%s/%s %s", user, repo, install_path))
run(fmt("packadd %s", repo))
end
end
ensure("lewis6991", "impatient.nvim")
require("impatient")
ensure("wbthomason", "packer.nvim")
ensure("rktjmp", "hotpot.nvim")
require("hotpot").setup { provide_require_fennel = true }
require("nvrc.ignite")
|