You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

419 lines
16 KiB

  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/tovi/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/tovi/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/tovi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/tovi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
  45. local install_cpath_pattern = "/home/tovi/.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. ["FixCursorHold.nvim"] = {
  67. loaded = true,
  68. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim",
  69. url = "https://github.com/antoinemadec/FixCursorHold.nvim"
  70. },
  71. LuaSnip = {
  72. loaded = true,
  73. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/LuaSnip",
  74. url = "https://github.com/L3MON4D3/LuaSnip"
  75. },
  76. ["cmp-buffer"] = {
  77. loaded = true,
  78. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/cmp-buffer",
  79. url = "https://github.com/hrsh7th/cmp-buffer"
  80. },
  81. ["cmp-nvim-lsp"] = {
  82. loaded = true,
  83. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
  84. url = "https://github.com/hrsh7th/cmp-nvim-lsp"
  85. },
  86. ["cmp-nvim-lua"] = {
  87. loaded = true,
  88. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
  89. url = "https://github.com/hrsh7th/cmp-nvim-lua"
  90. },
  91. ["cmp-path"] = {
  92. loaded = true,
  93. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/cmp-path",
  94. url = "https://github.com/hrsh7th/cmp-path"
  95. },
  96. cmp_luasnip = {
  97. loaded = true,
  98. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
  99. url = "https://github.com/saadparwaiz1/cmp_luasnip"
  100. },
  101. ["copilot.vim"] = {
  102. loaded = true,
  103. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/copilot.vim",
  104. url = "https://github.com/github/copilot.vim"
  105. },
  106. ["dart-vim-plugin"] = {
  107. loaded = true,
  108. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/dart-vim-plugin",
  109. url = "https://github.com/dart-lang/dart-vim-plugin"
  110. },
  111. ["dashboard-nvim"] = {
  112. config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21config.dashboard\frequire\0" },
  113. loaded = false,
  114. needs_bufread = false,
  115. only_cond = false,
  116. path = "/home/tovi/.local/share/nvim/site/pack/packer/opt/dashboard-nvim",
  117. url = "https://github.com/glepnir/dashboard-nvim"
  118. },
  119. ["friendly-snippets"] = {
  120. loaded = true,
  121. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/friendly-snippets",
  122. url = "https://github.com/rafamadriz/friendly-snippets"
  123. },
  124. ["fugitive-gitlab.vim"] = {
  125. loaded = true,
  126. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/fugitive-gitlab.vim",
  127. url = "https://github.com/shumphrey/fugitive-gitlab.vim"
  128. },
  129. ["gitsigns.nvim"] = {
  130. config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20config.gitsigns\frequire\0" },
  131. loaded = true,
  132. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
  133. url = "https://github.com/lewis6991/gitsigns.nvim"
  134. },
  135. ["go.nvim"] = {
  136. config = { "\27LJ\2\n)\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\14config.go\frequire\0" },
  137. loaded = true,
  138. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/go.nvim",
  139. url = "https://github.com/ray-x/go.nvim"
  140. },
  141. gruvbox = {
  142. loaded = true,
  143. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/gruvbox",
  144. url = "https://github.com/gruvbox-community/gruvbox"
  145. },
  146. ["guihua.lua"] = {
  147. loaded = true,
  148. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/guihua.lua",
  149. url = "https://github.com/ray-x/guihua.lua"
  150. },
  151. ["lsp-status.nvim"] = {
  152. loaded = true,
  153. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/lsp-status.nvim",
  154. url = "https://github.com/nvim-lua/lsp-status.nvim"
  155. },
  156. ["lsp-zero.nvim"] = {
  157. config = { "\27LJ\2\n*\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\15config.lsp\frequire\0" },
  158. loaded = true,
  159. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim",
  160. url = "https://github.com/VonHeikemen/lsp-zero.nvim"
  161. },
  162. ["lualine.nvim"] = {
  163. config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.lualine\frequire\0" },
  164. loaded = true,
  165. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/lualine.nvim",
  166. url = "https://github.com/nvim-lualine/lualine.nvim"
  167. },
  168. ["mason-lspconfig.nvim"] = {
  169. loaded = true,
  170. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
  171. url = "https://github.com/williamboman/mason-lspconfig.nvim"
  172. },
  173. ["mason.nvim"] = {
  174. loaded = true,
  175. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/mason.nvim",
  176. url = "https://github.com/williamboman/mason.nvim"
  177. },
  178. ["neo-tree.nvim"] = {
  179. config = { "\27LJ\2\n4\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\25config.nvim-neo-tree\frequire\0" },
  180. loaded = true,
  181. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/neo-tree.nvim",
  182. url = "https://github.com/nvim-neo-tree/neo-tree.nvim"
  183. },
  184. neotest = {
  185. config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.neotest\frequire\0" },
  186. loaded = true,
  187. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/neotest",
  188. url = "https://github.com/nvim-neotest/neotest"
  189. },
  190. ["neotest-go"] = {
  191. loaded = true,
  192. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/neotest-go",
  193. url = "https://github.com/nvim-neotest/neotest-go"
  194. },
  195. ["neotest-phpunit"] = {
  196. loaded = true,
  197. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/neotest-phpunit",
  198. url = "https://github.com/olimorris/neotest-phpunit"
  199. },
  200. ["nui.nvim"] = {
  201. loaded = true,
  202. path = "/home/tovi/.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 = "/home/tovi/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
  208. url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
  209. },
  210. ["nvim-cmp"] = {
  211. loaded = true,
  212. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-cmp",
  213. url = "https://github.com/hrsh7th/nvim-cmp"
  214. },
  215. ["nvim-lspconfig"] = {
  216. loaded = true,
  217. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
  218. url = "https://github.com/neovim/nvim-lspconfig"
  219. },
  220. ["nvim-neoclip.lua"] = {
  221. config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.neoclip\frequire\0" },
  222. loaded = true,
  223. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-neoclip.lua",
  224. url = "https://github.com/AckslD/nvim-neoclip.lua"
  225. },
  226. ["nvim-osc52"] = {
  227. loaded = true,
  228. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-osc52",
  229. url = "https://github.com/ojroques/nvim-osc52"
  230. },
  231. ["nvim-treesitter"] = {
  232. loaded = true,
  233. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
  234. url = "https://github.com/nvim-treesitter/nvim-treesitter"
  235. },
  236. ["nvim-web-devicons"] = {
  237. loaded = true,
  238. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
  239. url = "https://github.com/kyazdani42/nvim-web-devicons"
  240. },
  241. ["packer.nvim"] = {
  242. loaded = true,
  243. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/packer.nvim",
  244. url = "https://github.com/wbthomason/packer.nvim"
  245. },
  246. ["php-doc-modded"] = {
  247. config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.php-doc\frequire\0" },
  248. loaded = true,
  249. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/php-doc-modded",
  250. url = "https://github.com/Rican7/php-doc-modded"
  251. },
  252. ["plenary.nvim"] = {
  253. loaded = true,
  254. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/plenary.nvim",
  255. url = "https://github.com/nvim-lua/plenary.nvim"
  256. },
  257. ["popup.nvim"] = {
  258. loaded = true,
  259. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/popup.nvim",
  260. url = "https://github.com/nvim-lua/popup.nvim"
  261. },
  262. ["prettier.nvim"] = {
  263. config = { "\27LJ\2\nJ\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0016\0\0\0'\2\2\0B\0\2\1K\0\1\0\20config.prettier\19config.null-ls\frequire\0" },
  264. loaded = true,
  265. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/prettier.nvim",
  266. url = "https://github.com/MunifTanjim/prettier.nvim"
  267. },
  268. ["sqlite.lua"] = {
  269. loaded = false,
  270. needs_bufread = false,
  271. only_cond = false,
  272. path = "/home/tovi/.local/share/nvim/site/pack/packer/opt/sqlite.lua",
  273. url = "https://github.com/kkharji/sqlite.lua"
  274. },
  275. ["telescope-fzy-native.nvim"] = {
  276. loaded = true,
  277. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/telescope-fzy-native.nvim",
  278. url = "https://github.com/nvim-telescope/telescope-fzy-native.nvim"
  279. },
  280. ["telescope.nvim"] = {
  281. config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21config.telescope\frequire\0" },
  282. loaded = true,
  283. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/telescope.nvim",
  284. url = "https://github.com/nvim-telescope/telescope.nvim"
  285. },
  286. ["tmux.nvim"] = {
  287. config = { "\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16config.tmux\frequire\0" },
  288. loaded = true,
  289. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/tmux.nvim",
  290. url = "https://github.com/aserowy/tmux.nvim"
  291. },
  292. ultisnips = {
  293. loaded = true,
  294. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/ultisnips",
  295. url = "https://github.com/SirVer/ultisnips"
  296. },
  297. ["vim-fugitive"] = {
  298. config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20config.fugitive\frequire\0" },
  299. loaded = true,
  300. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/vim-fugitive",
  301. url = "https://github.com/tpope/vim-fugitive"
  302. },
  303. ["vim-moonfly-colors"] = {
  304. loaded = true,
  305. path = "/home/tovi/.local/share/nvim/site/pack/packer/start/vim-moonfly-colors",
  306. url = "https://github.com/bluz71/vim-moonfly-colors"
  307. }
  308. }
  309. time([[Defining packer_plugins]], false)
  310. local module_lazy_loads = {
  311. ["^sqlite"] = "sqlite.lua"
  312. }
  313. local lazy_load_called = {['packer.load'] = true}
  314. local function lazy_load_module(module_name)
  315. local to_load = {}
  316. if lazy_load_called[module_name] then return nil end
  317. lazy_load_called[module_name] = true
  318. for module_pat, plugin_name in pairs(module_lazy_loads) do
  319. if not _G.packer_plugins[plugin_name].loaded and string.match(module_name, module_pat) then
  320. to_load[#to_load + 1] = plugin_name
  321. end
  322. end
  323. if #to_load > 0 then
  324. require('packer.load')(to_load, {module = module_name}, _G.packer_plugins)
  325. local loaded_mod = package.loaded[module_name]
  326. if loaded_mod then
  327. return function(modname) return loaded_mod end
  328. end
  329. end
  330. end
  331. if not vim.g.packer_custom_loader_enabled then
  332. table.insert(package.loaders, 1, lazy_load_module)
  333. vim.g.packer_custom_loader_enabled = true
  334. end
  335. -- Config for: nvim-neoclip.lua
  336. time([[Config for nvim-neoclip.lua]], true)
  337. try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.neoclip\frequire\0", "config", "nvim-neoclip.lua")
  338. time([[Config for nvim-neoclip.lua]], false)
  339. -- Config for: telescope.nvim
  340. time([[Config for telescope.nvim]], true)
  341. try_loadstring("\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21config.telescope\frequire\0", "config", "telescope.nvim")
  342. time([[Config for telescope.nvim]], false)
  343. -- Config for: gitsigns.nvim
  344. time([[Config for gitsigns.nvim]], true)
  345. try_loadstring("\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20config.gitsigns\frequire\0", "config", "gitsigns.nvim")
  346. time([[Config for gitsigns.nvim]], false)
  347. -- Config for: tmux.nvim
  348. time([[Config for tmux.nvim]], true)
  349. try_loadstring("\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16config.tmux\frequire\0", "config", "tmux.nvim")
  350. time([[Config for tmux.nvim]], false)
  351. -- Config for: lsp-zero.nvim
  352. time([[Config for lsp-zero.nvim]], true)
  353. try_loadstring("\27LJ\2\n*\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\15config.lsp\frequire\0", "config", "lsp-zero.nvim")
  354. time([[Config for lsp-zero.nvim]], false)
  355. -- Config for: prettier.nvim
  356. time([[Config for prettier.nvim]], true)
  357. try_loadstring("\27LJ\2\nJ\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0016\0\0\0'\2\2\0B\0\2\1K\0\1\0\20config.prettier\19config.null-ls\frequire\0", "config", "prettier.nvim")
  358. time([[Config for prettier.nvim]], false)
  359. -- Config for: go.nvim
  360. time([[Config for go.nvim]], true)
  361. try_loadstring("\27LJ\2\n)\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\14config.go\frequire\0", "config", "go.nvim")
  362. time([[Config for go.nvim]], false)
  363. -- Config for: neo-tree.nvim
  364. time([[Config for neo-tree.nvim]], true)
  365. try_loadstring("\27LJ\2\n4\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\25config.nvim-neo-tree\frequire\0", "config", "neo-tree.nvim")
  366. time([[Config for neo-tree.nvim]], false)
  367. -- Config for: lualine.nvim
  368. time([[Config for lualine.nvim]], true)
  369. try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.lualine\frequire\0", "config", "lualine.nvim")
  370. time([[Config for lualine.nvim]], false)
  371. -- Config for: neotest
  372. time([[Config for neotest]], true)
  373. try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.neotest\frequire\0", "config", "neotest")
  374. time([[Config for neotest]], false)
  375. -- Config for: vim-fugitive
  376. time([[Config for vim-fugitive]], true)
  377. try_loadstring("\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20config.fugitive\frequire\0", "config", "vim-fugitive")
  378. time([[Config for vim-fugitive]], false)
  379. -- Config for: php-doc-modded
  380. time([[Config for php-doc-modded]], true)
  381. try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19config.php-doc\frequire\0", "config", "php-doc-modded")
  382. time([[Config for php-doc-modded]], false)
  383. vim.cmd [[augroup packer_load_aucmds]]
  384. vim.cmd [[au!]]
  385. -- Event lazy-loads
  386. time([[Defining lazy-load event autocommands]], true)
  387. vim.cmd [[au VimEnter * ++once lua require("packer.load")({'dashboard-nvim'}, { event = "VimEnter *" }, _G.packer_plugins)]]
  388. time([[Defining lazy-load event autocommands]], false)
  389. vim.cmd("augroup END")
  390. _G._packer.inside_compile = false
  391. if _G._packer.needs_bufread == true then
  392. vim.cmd("doautocmd BufRead")
  393. end
  394. _G._packer.needs_bufread = false
  395. if should_profile then save_profiles() end
  396. end)
  397. if not no_errors then
  398. error_msg = error_msg:gsub('"', '\\"')
  399. vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
  400. end