packer_compiled.lua 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. -- Automatically generated packer.nvim plugin loader code
  2. if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
  3. vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
  4. return
  5. end
  6. vim.api.nvim_command('packadd packer.nvim')
  7. local no_errors, error_msg = pcall(function()
  8. _G._packer = _G._packer or {}
  9. _G._packer.inside_compile = true
  10. local time
  11. local profile_info
  12. local should_profile = false
  13. if should_profile then
  14. local hrtime = vim.loop.hrtime
  15. profile_info = {}
  16. time = function(chunk, start)
  17. if start then
  18. profile_info[chunk] = hrtime()
  19. else
  20. profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6
  21. end
  22. end
  23. else
  24. time = function(chunk, start) end
  25. end
  26. local function save_profiles(threshold)
  27. local sorted_times = {}
  28. for chunk_name, time_taken in pairs(profile_info) do
  29. sorted_times[#sorted_times + 1] = {chunk_name, time_taken}
  30. end
  31. table.sort(sorted_times, function(a, b) return a[2] > b[2] end)
  32. local results = {}
  33. for i, elem in ipairs(sorted_times) do
  34. if not threshold or threshold and elem[2] > threshold then
  35. results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'
  36. end
  37. end
  38. if threshold then
  39. table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)')
  40. end
  41. _G._packer.profile_output = results
  42. end
  43. time([[Luarocks path setup]], true)
  44. local package_path_str = "/Users/sdaduanbilei/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/sdaduanbilei/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/sdaduanbilei/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/sdaduanbilei/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
  45. local install_cpath_pattern = "/Users/sdaduanbilei/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
  46. if not string.find(package.path, package_path_str, 1, true) then
  47. package.path = package.path .. ';' .. package_path_str
  48. end
  49. if not string.find(package.cpath, install_cpath_pattern, 1, true) then
  50. package.cpath = package.cpath .. ';' .. install_cpath_pattern
  51. end
  52. time([[Luarocks path setup]], false)
  53. time([[try_loadstring definition]], true)
  54. local function try_loadstring(s, component, name)
  55. local success, result = pcall(loadstring(s), name, _G.packer_plugins[name])
  56. if not success then
  57. vim.schedule(function()
  58. vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
  59. end)
  60. end
  61. return result
  62. end
  63. time([[try_loadstring definition]], false)
  64. time([[Defining packer_plugins]], true)
  65. _G.packer_plugins = {
  66. ["Comment.nvim"] = {
  67. config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" },
  68. loaded = true,
  69. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/Comment.nvim",
  70. url = "https://github.com/numToStr/Comment.nvim"
  71. },
  72. LuaSnip = {
  73. loaded = true,
  74. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/LuaSnip",
  75. url = "https://github.com/L3MON4D3/LuaSnip"
  76. },
  77. ["cmp-buffer"] = {
  78. loaded = true,
  79. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/cmp-buffer",
  80. url = "https://github.com/hrsh7th/cmp-buffer"
  81. },
  82. ["cmp-cmdline"] = {
  83. loaded = true,
  84. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/cmp-cmdline",
  85. url = "https://github.com/hrsh7th/cmp-cmdline"
  86. },
  87. ["cmp-nvim-lsp"] = {
  88. loaded = true,
  89. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
  90. url = "https://github.com/hrsh7th/cmp-nvim-lsp"
  91. },
  92. ["cmp-path"] = {
  93. loaded = true,
  94. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/cmp-path",
  95. url = "https://github.com/hrsh7th/cmp-path"
  96. },
  97. ["cmp-vsnip"] = {
  98. loaded = true,
  99. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/cmp-vsnip",
  100. url = "https://github.com/hrsh7th/cmp-vsnip"
  101. },
  102. cmp_luasnip = {
  103. loaded = true,
  104. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
  105. url = "https://github.com/saadparwaiz1/cmp_luasnip"
  106. },
  107. ["dashboard-nvim"] = {
  108. loaded = true,
  109. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/dashboard-nvim",
  110. url = "https://github.com/glepnir/dashboard-nvim"
  111. },
  112. ["eslint.nvim"] = {
  113. loaded = true,
  114. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/eslint.nvim",
  115. url = "https://github.com/MunifTanjim/eslint.nvim"
  116. },
  117. ["fidget.nvim"] = {
  118. config = { "\27LJ\2\n4\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\25plugin-config.fidget\frequire\0" },
  119. loaded = true,
  120. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/fidget.nvim",
  121. url = "https://github.com/j-hui/fidget.nvim"
  122. },
  123. ["formatter.nvim"] = {
  124. loaded = true,
  125. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/formatter.nvim",
  126. url = "https://github.com/mhartington/formatter.nvim"
  127. },
  128. ["friendly-snippets"] = {
  129. loaded = true,
  130. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/friendly-snippets",
  131. url = "https://github.com/rafamadriz/friendly-snippets"
  132. },
  133. ["gitsigns.nvim"] = {
  134. loaded = true,
  135. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
  136. url = "https://github.com/lewis6991/gitsigns.nvim"
  137. },
  138. ["hop.nvim"] = {
  139. config = { "\27LJ\2\nU\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\tkeys\28etovxqpdygfblzhckisuran\nsetup\bhop\frequire\0" },
  140. loaded = true,
  141. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/hop.nvim",
  142. url = "https://github.com/phaazon/hop.nvim"
  143. },
  144. ["inc-rename.nvim"] = {
  145. config = { "\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15inc_rename\frequire\0" },
  146. loaded = true,
  147. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/inc-rename.nvim",
  148. url = "https://github.com/smjonas/inc-rename.nvim"
  149. },
  150. ["indent-blankline.nvim"] = {
  151. loaded = true,
  152. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim",
  153. url = "https://github.com/lukas-reineke/indent-blankline.nvim"
  154. },
  155. ["lazygit.nvim"] = {
  156. loaded = true,
  157. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/lazygit.nvim",
  158. url = "https://github.com/kdheepak/lazygit.nvim"
  159. },
  160. ["lspkind.nvim"] = {
  161. loaded = true,
  162. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/lspkind.nvim",
  163. url = "https://github.com/onsails/lspkind.nvim"
  164. },
  165. ["lspsaga.nvim"] = {
  166. loaded = true,
  167. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/lspsaga.nvim",
  168. url = "https://github.com/tami5/lspsaga.nvim"
  169. },
  170. ["lualine.nvim"] = {
  171. loaded = true,
  172. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/lualine.nvim",
  173. url = "https://github.com/nvim-lualine/lualine.nvim"
  174. },
  175. ["mason-lspconfig.nvim"] = {
  176. loaded = true,
  177. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
  178. url = "https://github.com/williamboman/mason-lspconfig.nvim"
  179. },
  180. ["mason-null-ls.nvim"] = {
  181. loaded = true,
  182. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/mason-null-ls.nvim",
  183. url = "https://github.com/jay-babu/mason-null-ls.nvim"
  184. },
  185. ["mason.nvim"] = {
  186. loaded = true,
  187. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/mason.nvim",
  188. url = "https://github.com/williamboman/mason.nvim"
  189. },
  190. ["neodev.nvim"] = {
  191. loaded = true,
  192. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/neodev.nvim",
  193. url = "https://github.com/folke/neodev.nvim"
  194. },
  195. ["noice.nvim"] = {
  196. loaded = true,
  197. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/noice.nvim",
  198. url = "https://github.com/folke/noice.nvim"
  199. },
  200. ["nui.nvim"] = {
  201. loaded = true,
  202. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nui.nvim",
  203. url = "https://github.com/MunifTanjim/nui.nvim"
  204. },
  205. ["null-ls.nvim"] = {
  206. loaded = true,
  207. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
  208. url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
  209. },
  210. ["nvim-autopairs"] = {
  211. config = { "\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0" },
  212. loaded = true,
  213. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
  214. url = "https://github.com/windwp/nvim-autopairs"
  215. },
  216. ["nvim-cmp"] = {
  217. loaded = true,
  218. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-cmp",
  219. url = "https://github.com/hrsh7th/nvim-cmp"
  220. },
  221. ["nvim-colorizer.lua"] = {
  222. loaded = true,
  223. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua",
  224. url = "https://github.com/norcalli/nvim-colorizer.lua"
  225. },
  226. ["nvim-lsp-ts-utils"] = {
  227. loaded = true,
  228. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-lsp-ts-utils",
  229. url = "https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils"
  230. },
  231. ["nvim-lspconfig"] = {
  232. loaded = true,
  233. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
  234. url = "https://github.com/neovim/nvim-lspconfig"
  235. },
  236. ["nvim-notify"] = {
  237. config = { "\27LJ\2\n9\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\30plugin-config.nvim-notify\frequire\0" },
  238. loaded = true,
  239. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-notify",
  240. url = "https://github.com/rcarriga/nvim-notify"
  241. },
  242. ["nvim-tree-docs"] = {
  243. loaded = true,
  244. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-tree-docs",
  245. url = "https://github.com/nvim-treesitter/nvim-tree-docs"
  246. },
  247. ["nvim-tree.lua"] = {
  248. loaded = true,
  249. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
  250. url = "https://github.com/kyazdani42/nvim-tree.lua"
  251. },
  252. ["nvim-treesitter"] = {
  253. config = { "\27LJ\2\n=\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\"plugin-config.nvim-treesitter\frequire\0" },
  254. loaded = true,
  255. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
  256. url = "https://github.com/nvim-treesitter/nvim-treesitter"
  257. },
  258. ["nvim-treesitter-refactor"] = {
  259. loaded = true,
  260. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor",
  261. url = "https://github.com/nvim-treesitter/nvim-treesitter-refactor"
  262. },
  263. ["nvim-treesitter-textobjects"] = {
  264. loaded = true,
  265. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects",
  266. url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
  267. },
  268. ["nvim-ts-autotag"] = {
  269. loaded = true,
  270. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-ts-autotag",
  271. url = "https://github.com/windwp/nvim-ts-autotag"
  272. },
  273. ["nvim-ts-context-commentstring"] = {
  274. loaded = true,
  275. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring",
  276. url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring"
  277. },
  278. ["nvim-ts-rainbow"] = {
  279. loaded = true,
  280. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-ts-rainbow",
  281. url = "https://github.com/p00f/nvim-ts-rainbow"
  282. },
  283. ["nvim-web-devicons"] = {
  284. loaded = true,
  285. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
  286. url = "https://github.com/nvim-tree/nvim-web-devicons"
  287. },
  288. ["packer.nvim"] = {
  289. loaded = true,
  290. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/packer.nvim",
  291. url = "https://github.com/wbthomason/packer.nvim"
  292. },
  293. ["plenary.nvim"] = {
  294. loaded = true,
  295. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/plenary.nvim",
  296. url = "https://github.com/nvim-lua/plenary.nvim"
  297. },
  298. ["prettier.nvim"] = {
  299. loaded = true,
  300. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/prettier.nvim",
  301. url = "https://github.com/MunifTanjim/prettier.nvim"
  302. },
  303. ["project.nvim"] = {
  304. loaded = true,
  305. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/project.nvim",
  306. url = "https://github.com/ahmedkhalf/project.nvim"
  307. },
  308. ["rust-tools.nvim"] = {
  309. loaded = true,
  310. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/rust-tools.nvim",
  311. url = "https://github.com/simrat39/rust-tools.nvim"
  312. },
  313. ["schemastore.nvim"] = {
  314. loaded = true,
  315. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/schemastore.nvim",
  316. url = "https://github.com/b0o/schemastore.nvim"
  317. },
  318. ["telescope.nvim"] = {
  319. loaded = true,
  320. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/telescope.nvim",
  321. url = "https://github.com/nvim-telescope/telescope.nvim"
  322. },
  323. ["tokyonight.nvim"] = {
  324. loaded = true,
  325. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/tokyonight.nvim",
  326. url = "https://github.com/folke/tokyonight.nvim"
  327. },
  328. ["trouble.nvim"] = {
  329. loaded = true,
  330. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/trouble.nvim",
  331. url = "https://github.com/folke/trouble.nvim"
  332. },
  333. ["typescript.nvim"] = {
  334. loaded = true,
  335. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/typescript.nvim",
  336. url = "https://github.com/jose-elias-alvarez/typescript.nvim"
  337. },
  338. ["vim-floaterm"] = {
  339. loaded = true,
  340. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/vim-floaterm",
  341. url = "https://github.com/voldikss/vim-floaterm"
  342. },
  343. ["vim-matchtag"] = {
  344. loaded = true,
  345. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/vim-matchtag",
  346. url = "https://github.com/leafOfTree/vim-matchtag"
  347. },
  348. ["vim-maximizer"] = {
  349. loaded = true,
  350. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/vim-maximizer",
  351. url = "https://github.com/szw/vim-maximizer"
  352. },
  353. ["vim-vsnip"] = {
  354. loaded = true,
  355. path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/vim-vsnip",
  356. url = "https://github.com/hrsh7th/vim-vsnip"
  357. }
  358. }
  359. time([[Defining packer_plugins]], false)
  360. -- Config for: inc-rename.nvim
  361. time([[Config for inc-rename.nvim]], true)
  362. try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15inc_rename\frequire\0", "config", "inc-rename.nvim")
  363. time([[Config for inc-rename.nvim]], false)
  364. -- Config for: nvim-treesitter
  365. time([[Config for nvim-treesitter]], true)
  366. try_loadstring("\27LJ\2\n=\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\"plugin-config.nvim-treesitter\frequire\0", "config", "nvim-treesitter")
  367. time([[Config for nvim-treesitter]], false)
  368. -- Config for: fidget.nvim
  369. time([[Config for fidget.nvim]], true)
  370. try_loadstring("\27LJ\2\n4\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\25plugin-config.fidget\frequire\0", "config", "fidget.nvim")
  371. time([[Config for fidget.nvim]], false)
  372. -- Config for: Comment.nvim
  373. time([[Config for Comment.nvim]], true)
  374. try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")
  375. time([[Config for Comment.nvim]], false)
  376. -- Config for: hop.nvim
  377. time([[Config for hop.nvim]], true)
  378. try_loadstring("\27LJ\2\nU\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\tkeys\28etovxqpdygfblzhckisuran\nsetup\bhop\frequire\0", "config", "hop.nvim")
  379. time([[Config for hop.nvim]], false)
  380. -- Config for: nvim-notify
  381. time([[Config for nvim-notify]], true)
  382. try_loadstring("\27LJ\2\n9\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\30plugin-config.nvim-notify\frequire\0", "config", "nvim-notify")
  383. time([[Config for nvim-notify]], false)
  384. -- Config for: nvim-autopairs
  385. time([[Config for nvim-autopairs]], true)
  386. try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs")
  387. time([[Config for nvim-autopairs]], false)
  388. _G._packer.inside_compile = false
  389. if _G._packer.needs_bufread == true then
  390. vim.cmd("doautocmd BufRead")
  391. end
  392. _G._packer.needs_bufread = false
  393. if should_profile then save_profiles() end
  394. end)
  395. if not no_errors then
  396. error_msg = error_msg:gsub('"', '\\"')
  397. vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
  398. end