From 8f9c77878f8742a47d34a50748023d1b552cfbf1 Mon Sep 17 00:00:00 2001 From: mirenn Date: Mon, 21 Sep 2026 23:09:33 +0200 Subject: guix primer --- .../dotfiles/.config/nvim/lua/config/lazy.lua | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 mirenn/home/files/dotfiles/.config/nvim/lua/config/lazy.lua (limited to 'mirenn/home/files/dotfiles/.config/nvim/lua/config/lazy.lua') diff --git a/mirenn/home/files/dotfiles/.config/nvim/lua/config/lazy.lua b/mirenn/home/files/dotfiles/.config/nvim/lua/config/lazy.lua new file mode 100644 index 0000000..135704c --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/nvim/lua/config/lazy.lua @@ -0,0 +1,47 @@ +-- bootstrap lazy +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("config.globals") + +local opts = { + defaults = { + lazy = true, + }, + rtp = { + disabled_plugins = { + "gzip", + "matchit", + "matchparen", + "netrw", + "netrwPlugin", + "tarPlugin", + "tohtml", + "tutor", + "zipPlugin", + } + }, + change_detection = { + notify = false, + }, + ui = { + border = "rounded", + backdrop = 100, + }, + checker = { + enabled = true, + }, + lockfile = vim.fn.stdpath("state") .. "/lazy-lock.json", +} + +require("lazy").setup("plugins", opts) -- cgit v1.2.3