ditch fennel ? (#3)

yes

Reviewed-on: https://git.earth2077.fr/leana/.files/pulls/3
Co-authored-by: Léana 江 <leana.jiang@icloud.com>
Co-committed-by: Léana 江 <leana.jiang@icloud.com>
This commit is contained in:
Léana 江 2024-02-07 19:47:43 +00:00 committed by Léana 江
parent d0cb07df6d
commit b81732fcf2
41 changed files with 1370 additions and 1114 deletions

View file

@ -1,29 +1,7 @@
local function bootstrap(url, ref)
local name = url:gsub(".*/", "")
local path
require "maps"
require "opts"
require "autocmds"
path = vim.fn.stdpath "data" .. "/lazy/" .. name
vim.opt.runtimepath:prepend(path)
require "plugins"
if vim.fn.isdirectory(path) == 0 then
print(name .. ": installing in data dir...")
vim.fn.system { "git", "clone", url, path }
if ref then
vim.fn.system { "git", "-C", path, "checkout", ref }
end
vim.cmd "redraw"
print(name .. ": finished installing")
end
end
bootstrap("https://github.com/udayvir-singh/tangerine.nvim", "v2.8")
bootstrap "https://github.com/udayvir-singh/hibiscus.nvim"
require "tangerine".setup {
target = vim.fn.stdpath [[data]] .. "/tangerine",
compiler = {
verbose = false,
hooks = { "oninit", "onsave" },
},
}
vim.cmd.colorscheme "curry"