--- Basic lua installation lines. local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not (vim.uv or vim.loop).fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", -- latest stable release lazypath, }) end vim.opt.rtp:prepend(lazypath) require("lazy").setup({ { import = "ache.plugins.themes" }, { import = "ache.plugins" }, { import = "ache.plugins.lsp" }, { import = "ache.plugins.llm" }, }, { checker = { enabled = true, notify = false, }, change_detection = { notify = false, }, ui = { custom_keys = { -- You can define custom keymaps here. If present, the description will -- be shown in the help menu. -- To disable one of the defaults, set it to false. ["tl"] = { function(plugin) require("lazy.util").float_term({ "lazygit", "log" }, { cwd = plugin.dir, }) end, desc = "Open lazygit log", }, ["ti"] = { function(plugin) Util.notify(vim.inspect(plugin), { title = "Inspect " .. plugin.name, lang = "lua", }) end, desc = "Inspect Plugin", }, ["tt"] = { function(plugin) require("lazy.util").float_term(nil, { cwd = plugin.dir, }) end, desc = "Open terminal in plugin dir", }, }, }, }) -- Will list every Lua file in the directory and load them.