packer_compiled.lua 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 = "/home/ffs/.cache/nvim/packer_hererocks/2.1.1713484068/share/lua/5.1/?.lua;/home/ffs/.cache/nvim/packer_hererocks/2.1.1713484068/share/lua/5.1/?/init.lua;/home/ffs/.cache/nvim/packer_hererocks/2.1.1713484068/lib/luarocks/rocks-5.1/?.lua;/home/ffs/.cache/nvim/packer_hererocks/2.1.1713484068/lib/luarocks/rocks-5.1/?/init.lua"
  45. local install_cpath_pattern = "/home/ffs/.cache/nvim/packer_hererocks/2.1.1713484068/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 = "/home/ffs/.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 = "/home/ffs/.local/share/nvim/site/pack/packer/start/LuaSnip",
  75. url = "https://github.com/L3MON4D3/LuaSnip"
  76. },
  77. ale = {
  78. loaded = true,
  79. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/ale",
  80. url = "https://github.com/dense-analysis/ale"
  81. },
  82. ["bufferline.nvim"] = {
  83. 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\15bufferline\frequire\0" },
  84. loaded = true,
  85. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/bufferline.nvim",
  86. url = "https://github.com/akinsho/bufferline.nvim"
  87. },
  88. ["cmp-buffer"] = {
  89. loaded = true,
  90. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/cmp-buffer",
  91. url = "https://github.com/hrsh7th/cmp-buffer"
  92. },
  93. ["cmp-nvim-lsp"] = {
  94. loaded = true,
  95. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
  96. url = "https://github.com/hrsh7th/cmp-nvim-lsp"
  97. },
  98. ["cmp-path"] = {
  99. loaded = true,
  100. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/cmp-path",
  101. url = "https://github.com/hrsh7th/cmp-path"
  102. },
  103. cmp_luasnip = {
  104. loaded = true,
  105. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
  106. url = "https://github.com/saadparwaiz1/cmp_luasnip"
  107. },
  108. ["lualine.nvim"] = {
  109. 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\flualine\frequire\0" },
  110. loaded = true,
  111. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/lualine.nvim",
  112. url = "https://github.com/nvim-lualine/lualine.nvim"
  113. },
  114. ["mason.nvim"] = {
  115. loaded = true,
  116. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/mason.nvim",
  117. url = "https://github.com/williamboman/mason.nvim"
  118. },
  119. ["nvim-autopairs"] = {
  120. config = { "\27LJ\2\n<\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\19nvim-autopairs\frequire\0" },
  121. loaded = true,
  122. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
  123. url = "https://github.com/windwp/nvim-autopairs"
  124. },
  125. ["nvim-cmp"] = {
  126. loaded = true,
  127. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/nvim-cmp",
  128. url = "https://github.com/hrsh7th/nvim-cmp"
  129. },
  130. ["nvim-lspconfig"] = {
  131. loaded = true,
  132. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
  133. url = "https://github.com/neovim/nvim-lspconfig"
  134. },
  135. ["nvim-tree.lua"] = {
  136. 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\14nvim-tree\frequire\0" },
  137. loaded = true,
  138. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
  139. url = "https://github.com/kyazdani42/nvim-tree.lua"
  140. },
  141. ["nvim-treesitter"] = {
  142. loaded = true,
  143. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
  144. url = "https://github.com/nvim-treesitter/nvim-treesitter"
  145. },
  146. ["nvim-web-devicons"] = {
  147. loaded = true,
  148. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
  149. url = "https://github.com/kyazdani42/nvim-web-devicons"
  150. },
  151. ["packer.nvim"] = {
  152. loaded = true,
  153. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/packer.nvim",
  154. url = "https://github.com/wbthomason/packer.nvim"
  155. },
  156. ["plenary.nvim"] = {
  157. loaded = true,
  158. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/plenary.nvim",
  159. url = "https://github.com/nvim-lua/plenary.nvim"
  160. },
  161. ["popup.nvim"] = {
  162. loaded = true,
  163. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/popup.nvim",
  164. url = "https://github.com/nvim-lua/popup.nvim"
  165. },
  166. ["rose-pine"] = {
  167. config = { "\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0" },
  168. loaded = true,
  169. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/rose-pine",
  170. url = "https://github.com/rose-pine/neovim"
  171. },
  172. tagbar = {
  173. loaded = true,
  174. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/tagbar",
  175. url = "https://github.com/majutsushi/tagbar"
  176. },
  177. ["telescope.nvim"] = {
  178. 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\14telescope\frequire\0" },
  179. loaded = true,
  180. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/telescope.nvim",
  181. url = "https://github.com/nvim-telescope/telescope.nvim"
  182. },
  183. ["vim-plugin-ruscmd"] = {
  184. loaded = true,
  185. path = "/home/ffs/.local/share/nvim/site/pack/packer/start/vim-plugin-ruscmd",
  186. url = "https://github.com/powerman/vim-plugin-ruscmd"
  187. }
  188. }
  189. time([[Defining packer_plugins]], false)
  190. -- Config for: rose-pine
  191. time([[Config for rose-pine]], true)
  192. try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0", "config", "rose-pine")
  193. time([[Config for rose-pine]], false)
  194. -- Config for: nvim-autopairs
  195. time([[Config for nvim-autopairs]], true)
  196. try_loadstring("\27LJ\2\n<\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\19nvim-autopairs\frequire\0", "config", "nvim-autopairs")
  197. time([[Config for nvim-autopairs]], false)
  198. -- Config for: Comment.nvim
  199. time([[Config for Comment.nvim]], true)
  200. 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")
  201. time([[Config for Comment.nvim]], false)
  202. -- Config for: lualine.nvim
  203. time([[Config for lualine.nvim]], true)
  204. 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\flualine\frequire\0", "config", "lualine.nvim")
  205. time([[Config for lualine.nvim]], false)
  206. -- Config for: bufferline.nvim
  207. time([[Config for bufferline.nvim]], true)
  208. 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\15bufferline\frequire\0", "config", "bufferline.nvim")
  209. time([[Config for bufferline.nvim]], false)
  210. -- Config for: nvim-tree.lua
  211. time([[Config for nvim-tree.lua]], true)
  212. 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\14nvim-tree\frequire\0", "config", "nvim-tree.lua")
  213. time([[Config for nvim-tree.lua]], false)
  214. -- Config for: telescope.nvim
  215. time([[Config for telescope.nvim]], true)
  216. 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\14telescope\frequire\0", "config", "telescope.nvim")
  217. time([[Config for telescope.nvim]], false)
  218. _G._packer.inside_compile = false
  219. if _G._packer.needs_bufread == true then
  220. vim.cmd("doautocmd BufRead")
  221. end
  222. _G._packer.needs_bufread = false
  223. if should_profile then save_profiles() end
  224. end)
  225. if not no_errors then
  226. error_msg = error_msg:gsub('"', '\\"')
  227. vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
  228. end