[Pager] Add specific lazy conf
This commit is contained in:
23
lazy-conf-pager.lua
Normal file
23
lazy-conf-pager.lua
Normal file
@@ -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
|
||||||
|
},
|
||||||
|
})
|
@@ -5,6 +5,7 @@ cp -r ./nvim/* ~/.config/nvim/
|
|||||||
rm -rf ~/.config/nvimpager/
|
rm -rf ~/.config/nvimpager/
|
||||||
mkdir ~/.config/nvimpager
|
mkdir ~/.config/nvimpager
|
||||||
cp -r ./nvim/* ~/.config/nvimpager/
|
cp -r ./nvim/* ~/.config/nvimpager/
|
||||||
|
cp ./lazy-conf-pager.lua ~/.config/nvimpager/lua/lazy-conf.lua
|
||||||
|
|
||||||
cd ~/.config/nvimpager/
|
cd ~/.config/nvimpager/
|
||||||
rm -rf ./lua/plugins/lsp
|
rm -rf ./lua/plugins/lsp
|
||||||
|
Reference in New Issue
Block a user