This commit is contained in:
veypi
2022-10-17 19:30:21 +08:00
parent 082b8a69e5
commit 4558f98d44
5 changed files with 178 additions and 94 deletions
+58 -38
View File
@@ -44,8 +44,8 @@ local function save_profiles(threshold)
end
time([[Luarocks path setup]], true)
local package_path_str = "/Users/light/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/light/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/light/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/light/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/Users/light/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
local package_path_str = "/Users/veypi/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/veypi/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/veypi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/veypi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/Users/veypi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str
end
@@ -71,143 +71,163 @@ time([[Defining packer_plugins]], true)
_G.packer_plugins = {
["AutoSave.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/AutoSave.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/AutoSave.nvim",
url = "https://github.com/Pocco81/AutoSave.nvim"
},
["Comment.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/Comment.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/Comment.nvim",
url = "https://github.com/numToStr/Comment.nvim"
},
LuaSnip = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/LuaSnip",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip"
},
["bufferline.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/bufferline.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/bufferline.nvim",
url = "https://github.com/akinsho/bufferline.nvim"
},
["cmp-buffer"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/cmp-buffer",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer"
},
["cmp-nvim-lsp"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp"
},
["cmp-omni"] = {
loaded = true,
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/cmp-omni",
url = "https://github.com/hrsh7th/cmp-omni"
},
["cmp-path"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/cmp-path",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/cmp-path",
url = "https://github.com/hrsh7th/cmp-path"
},
cmp_luasnip = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip"
},
["formatter.nvim"] = {
loaded = true,
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/formatter.nvim",
url = "https://github.com/mhartington/formatter.nvim"
},
["git-blame.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/git-blame.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/git-blame.nvim",
url = "https://github.com/f-person/git-blame.nvim"
},
["gitsigns.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
url = "https://github.com/lewis6991/gitsigns.nvim"
},
["gruvbox.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/gruvbox.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/gruvbox.nvim",
url = "https://github.com/ellisonleao/gruvbox.nvim"
},
["indent-blankline.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim",
url = "https://github.com/lukas-reineke/indent-blankline.nvim"
},
["lualine.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/lualine.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/lualine.nvim",
url = "https://github.com/nvim-lualine/lualine.nvim"
},
["mason-lspconfig.nvim"] = {
loaded = true,
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
url = "https://github.com/williamboman/mason-lspconfig.nvim"
},
["mason.nvim"] = {
loaded = true,
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/mason.nvim",
url = "https://github.com/williamboman/mason.nvim"
},
["nvim-autopairs"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
url = "https://github.com/windwp/nvim-autopairs"
},
["nvim-cmp"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-cmp",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp"
},
["nvim-colorizer.lua"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua",
url = "https://github.com/norcalli/nvim-colorizer.lua"
},
["nvim-lsp-installer"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer",
url = "https://github.com/williamboman/nvim-lsp-installer"
},
["nvim-lspconfig"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig"
},
["nvim-tree.lua"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
url = "https://github.com/kyazdani42/nvim-tree.lua"
},
["nvim-treesitter"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter"
},
["nvim-ts-autotag"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-ts-autotag",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-ts-autotag",
url = "https://github.com/windwp/nvim-ts-autotag"
},
["nvim-web-devicons"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
url = "https://github.com/kyazdani42/nvim-web-devicons"
},
["packer.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/packer.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim"
},
["plenary.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/plenary.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
},
smartim = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/smartim",
url = "https://github.com/ybian/smartim"
},
["telescope.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/telescope.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim"
},
["toggleterm.nvim"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/toggleterm.nvim",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/toggleterm.nvim",
url = "https://github.com/akinsho/toggleterm.nvim"
},
["vim-mergetool"] = {
loaded = true,
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/vim-mergetool",
url = "https://github.com/samoshkin/vim-mergetool"
},
["vim-template"] = {
loaded = true,
path = "/Users/light/.local/share/nvim/site/pack/packer/start/vim-template",
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/vim-template",
url = "https://github.com/aperezdc/vim-template"
},
vimtex = {
loaded = true,
path = "/Users/veypi/.local/share/nvim/site/pack/packer/start/vimtex",
url = "https://github.com/lervag/vimtex"
}
}