From 41e92f3aac927e01877cf2d8339e98b350f15ae8 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 16 Sep 2025 17:24:51 +0200 Subject: [PATCH] [Pager] Add specific lazy conf --- lazy-conf-pager.lua | 23 +++++++++++++++++++++++ nvim-install.sh | 1 + 2 files changed, 24 insertions(+) create mode 100644 lazy-conf-pager.lua diff --git a/lazy-conf-pager.lua b/lazy-conf-pager.lua new file mode 100644 index 0000000..e72fc8e --- /dev/null +++ b/lazy-conf-pager.lua @@ -0,0 +1,23 @@ +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not 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({ + spec = { + { import = "plugins.nav" }, + { import = "plugins.style" }, + { import = "plugins.util" }, + }, + change_detection = { + notify = false, -- dont notify when plugins are changed + }, +}) diff --git a/nvim-install.sh b/nvim-install.sh index 76092bf..baa524b 100755 --- a/nvim-install.sh +++ b/nvim-install.sh @@ -5,6 +5,7 @@ cp -r ./nvim/* ~/.config/nvim/ rm -rf ~/.config/nvimpager/ mkdir ~/.config/nvimpager cp -r ./nvim/* ~/.config/nvimpager/ +cp ./lazy-conf-pager.lua ~/.config/nvimpager/lua/lazy-conf.lua cd ~/.config/nvimpager/ rm -rf ./lua/plugins/lsp