|
@@ -75,68 +75,58 @@ time([[try_loadstring definition]], false)
|
|
|
time([[Defining packer_plugins]], true)
|
|
|
_G.packer_plugins = {
|
|
|
["dashboard-nvim"] = {
|
|
|
- loaded = false,
|
|
|
- needs_bufread = false,
|
|
|
- only_cond = false,
|
|
|
- path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/opt/dashboard-nvim",
|
|
|
- url = "https://github.com/glepnir/dashboard-nvim"
|
|
|
+ loaded = true,
|
|
|
+ path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/dashboard-nvim",
|
|
|
+ url = "https://gitcode.net/mirrors/glepnir/dashboard-nvim"
|
|
|
},
|
|
|
["lualine.nvim"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/lualine.nvim",
|
|
|
- url = "https://github.com/nvim-lualine/lualine.nvim"
|
|
|
+ url = "https://gitcode.net/mirrors/nvim-lualine/lualine.nvim"
|
|
|
},
|
|
|
["nvim-tree.lua"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
|
|
|
- url = "https://github.com/kyazdani42/nvim-tree.lua"
|
|
|
+ url = "https://gitcode.net/mirrors/kyazdani42/nvim-tree.lua"
|
|
|
},
|
|
|
["nvim-treesitter"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
|
|
|
- url = "https://github.com/nvim-treesitter/nvim-treesitter"
|
|
|
+ url = "https://gitcode.net/mirrors/nvim-treesitter/nvim-treesitter"
|
|
|
},
|
|
|
["nvim-web-devicons"] = {
|
|
|
- loaded = false,
|
|
|
- needs_bufread = false,
|
|
|
- path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons",
|
|
|
- url = "https://github.com/nvim-tree/nvim-web-devicons"
|
|
|
+ loaded = true,
|
|
|
+ path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
|
|
+ url = "https://gitcode.net/mirrors/nvim-tree/nvim-web-devicons"
|
|
|
},
|
|
|
["packer.nvim"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
|
|
- url = "https://github.com/wbthomason/packer.nvim"
|
|
|
+ url = "https://gitcode.net/mirrors/wbthomason/packer.nvim"
|
|
|
},
|
|
|
["plenary.nvim"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
|
|
- url = "https://github.com/nvim-lua/plenary.nvim"
|
|
|
+ url = "https://gitcode.net/mirrors/nvim-lua/plenary.nvim"
|
|
|
},
|
|
|
["project.nvim"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/project.nvim",
|
|
|
- url = "https://github.com/ahmedkhalf/project.nvim"
|
|
|
+ url = "https://gitcode.net/mirrors/ahmedkhalf/project.nvim"
|
|
|
},
|
|
|
["telescope.nvim"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/telescope.nvim",
|
|
|
- url = "https://github.com/nvim-telescope/telescope.nvim"
|
|
|
+ url = "https://gitcode.net/mirrors/nvim-telescope/telescope.nvim"
|
|
|
},
|
|
|
["tokyonight.nvim"] = {
|
|
|
loaded = true,
|
|
|
path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/tokyonight.nvim",
|
|
|
- url = "https://github.com/folke/tokyonight.nvim"
|
|
|
+ url = "https://gitcode.net/mirrors/folke/tokyonight.nvim"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
time([[Defining packer_plugins]], false)
|
|
|
-vim.cmd [[augroup packer_load_aucmds]]
|
|
|
-vim.cmd [[au!]]
|
|
|
- -- Event lazy-loads
|
|
|
-time([[Defining lazy-load event autocommands]], true)
|
|
|
-vim.cmd [[au VimEnter * ++once lua require("packer.load")({'dashboard-nvim'}, { event = "VimEnter *" }, _G.packer_plugins)]]
|
|
|
-time([[Defining lazy-load event autocommands]], false)
|
|
|
-vim.cmd("augroup END")
|
|
|
|
|
|
_G._packer.inside_compile = false
|
|
|
if _G._packer.needs_bufread == true then
|