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.

319 lines
12 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/tovij/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/tovij/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/tovij/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/tovij/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
  45. local install_cpath_pattern = "/home/tovij/.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. LuaSnip = {
  67. loaded = true,
  68. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/LuaSnip",
  69. url = "https://github.com/L3MON4D3/LuaSnip"
  70. },
  71. ["cmp-buffer"] = {
  72. loaded = true,
  73. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/cmp-buffer",
  74. url = "https://github.com/hrsh7th/cmp-buffer"
  75. },
  76. ["cmp-nvim-lsp"] = {
  77. loaded = true,
  78. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
  79. url = "https://github.com/hrsh7th/cmp-nvim-lsp"
  80. },
  81. ["cmp-nvim-lua"] = {
  82. loaded = true,
  83. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
  84. url = "https://github.com/hrsh7th/cmp-nvim-lua"
  85. },
  86. ["cmp-path"] = {
  87. loaded = true,
  88. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/cmp-path",
  89. url = "https://github.com/hrsh7th/cmp-path"
  90. },
  91. cmp_luasnip = {
  92. loaded = true,
  93. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
  94. url = "https://github.com/saadparwaiz1/cmp_luasnip"
  95. },
  96. ["copilot.vim"] = {
  97. loaded = true,
  98. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/copilot.vim",
  99. url = "https://github.com/github/copilot.vim"
  100. },
  101. ["dart-vim-plugin"] = {
  102. loaded = true,
  103. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/dart-vim-plugin",
  104. url = "https://github.com/dart-lang/dart-vim-plugin"
  105. },
  106. ["friendly-snippets"] = {
  107. loaded = true,
  108. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/friendly-snippets",
  109. url = "https://github.com/rafamadriz/friendly-snippets"
  110. },
  111. ["fugitive-gitlab.vim"] = {
  112. loaded = true,
  113. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/fugitive-gitlab.vim",
  114. url = "https://github.com/shumphrey/fugitive-gitlab.vim"
  115. },
  116. ["gitsigns.nvim"] = {
  117. 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" },
  118. loaded = true,
  119. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
  120. url = "https://github.com/lewis6991/gitsigns.nvim"
  121. },
  122. ["go.nvim"] = {
  123. 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" },
  124. loaded = true,
  125. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/go.nvim",
  126. url = "https://github.com/ray-x/go.nvim"
  127. },
  128. gruvbox = {
  129. loaded = true,
  130. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/gruvbox",
  131. url = "https://github.com/gruvbox-community/gruvbox"
  132. },
  133. ["guihua.lua"] = {
  134. loaded = true,
  135. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/guihua.lua",
  136. url = "https://github.com/ray-x/guihua.lua"
  137. },
  138. ["lsp-status.nvim"] = {
  139. loaded = true,
  140. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/lsp-status.nvim",
  141. url = "https://github.com/nvim-lua/lsp-status.nvim"
  142. },
  143. ["lsp-zero.nvim"] = {
  144. 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" },
  145. loaded = true,
  146. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim",
  147. url = "https://github.com/VonHeikemen/lsp-zero.nvim"
  148. },
  149. ["lualine.nvim"] = {
  150. 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" },
  151. loaded = true,
  152. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/lualine.nvim",
  153. url = "https://github.com/nvim-lualine/lualine.nvim"
  154. },
  155. ["mason-lspconfig.nvim"] = {
  156. loaded = true,
  157. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
  158. url = "https://github.com/williamboman/mason-lspconfig.nvim"
  159. },
  160. ["mason.nvim"] = {
  161. loaded = true,
  162. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/mason.nvim",
  163. url = "https://github.com/williamboman/mason.nvim"
  164. },
  165. ["neo-tree.nvim"] = {
  166. 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" },
  167. loaded = true,
  168. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/neo-tree.nvim",
  169. url = "https://github.com/nvim-neo-tree/neo-tree.nvim"
  170. },
  171. ["nui.nvim"] = {
  172. loaded = true,
  173. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/nui.nvim",
  174. url = "https://github.com/MunifTanjim/nui.nvim"
  175. },
  176. ["nvim-cmp"] = {
  177. loaded = true,
  178. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/nvim-cmp",
  179. url = "https://github.com/hrsh7th/nvim-cmp"
  180. },
  181. ["nvim-lspconfig"] = {
  182. loaded = true,
  183. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
  184. url = "https://github.com/neovim/nvim-lspconfig"
  185. },
  186. ["nvim-osc52"] = {
  187. loaded = true,
  188. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/nvim-osc52",
  189. url = "https://github.com/ojroques/nvim-osc52"
  190. },
  191. ["nvim-treesitter"] = {
  192. loaded = true,
  193. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
  194. url = "https://github.com/nvim-treesitter/nvim-treesitter"
  195. },
  196. ["nvim-web-devicons"] = {
  197. loaded = true,
  198. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
  199. url = "https://github.com/kyazdani42/nvim-web-devicons"
  200. },
  201. ["packer.nvim"] = {
  202. loaded = true,
  203. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/packer.nvim",
  204. url = "https://github.com/wbthomason/packer.nvim"
  205. },
  206. ["php-doc-modded"] = {
  207. 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" },
  208. loaded = true,
  209. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/php-doc-modded",
  210. url = "https://github.com/Rican7/php-doc-modded"
  211. },
  212. ["plenary.nvim"] = {
  213. loaded = true,
  214. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/plenary.nvim",
  215. url = "https://github.com/nvim-lua/plenary.nvim"
  216. },
  217. ["popup.nvim"] = {
  218. loaded = true,
  219. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/popup.nvim",
  220. url = "https://github.com/nvim-lua/popup.nvim"
  221. },
  222. ["telescope-fzy-native.nvim"] = {
  223. loaded = true,
  224. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/telescope-fzy-native.nvim",
  225. url = "https://github.com/nvim-telescope/telescope-fzy-native.nvim"
  226. },
  227. ["telescope.nvim"] = {
  228. 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" },
  229. loaded = true,
  230. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/telescope.nvim",
  231. url = "https://github.com/nvim-telescope/telescope.nvim"
  232. },
  233. ["tmux.nvim"] = {
  234. 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" },
  235. loaded = true,
  236. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/tmux.nvim",
  237. url = "https://github.com/aserowy/tmux.nvim"
  238. },
  239. ultisnips = {
  240. loaded = true,
  241. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/ultisnips",
  242. url = "https://github.com/SirVer/ultisnips"
  243. },
  244. ["vim-fugitive"] = {
  245. 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" },
  246. loaded = true,
  247. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/vim-fugitive",
  248. url = "https://github.com/tpope/vim-fugitive"
  249. },
  250. ["vim-moonfly-colors"] = {
  251. loaded = true,
  252. path = "/home/tovij/.local/share/nvim/site/pack/packer/start/vim-moonfly-colors",
  253. url = "https://github.com/bluz71/vim-moonfly-colors"
  254. }
  255. }
  256. time([[Defining packer_plugins]], false)
  257. -- Config for: neo-tree.nvim
  258. time([[Config for neo-tree.nvim]], true)
  259. 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")
  260. time([[Config for neo-tree.nvim]], false)
  261. -- Config for: gitsigns.nvim
  262. time([[Config for gitsigns.nvim]], true)
  263. 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")
  264. time([[Config for gitsigns.nvim]], false)
  265. -- Config for: lsp-zero.nvim
  266. time([[Config for lsp-zero.nvim]], true)
  267. 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")
  268. time([[Config for lsp-zero.nvim]], false)
  269. -- Config for: telescope.nvim
  270. time([[Config for telescope.nvim]], true)
  271. 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")
  272. time([[Config for telescope.nvim]], false)
  273. -- Config for: go.nvim
  274. time([[Config for go.nvim]], true)
  275. 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")
  276. time([[Config for go.nvim]], false)
  277. -- Config for: lualine.nvim
  278. time([[Config for lualine.nvim]], true)
  279. 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")
  280. time([[Config for lualine.nvim]], false)
  281. -- Config for: vim-fugitive
  282. time([[Config for vim-fugitive]], true)
  283. 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")
  284. time([[Config for vim-fugitive]], false)
  285. -- Config for: php-doc-modded
  286. time([[Config for php-doc-modded]], true)
  287. 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")
  288. time([[Config for php-doc-modded]], false)
  289. -- Config for: tmux.nvim
  290. time([[Config for tmux.nvim]], true)
  291. 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")
  292. time([[Config for tmux.nvim]], false)
  293. _G._packer.inside_compile = false
  294. if _G._packer.needs_bufread == true then
  295. vim.cmd("doautocmd BufRead")
  296. end
  297. _G._packer.needs_bufread = false
  298. if should_profile then save_profiles() end
  299. end)
  300. if not no_errors then
  301. error_msg = error_msg:gsub('"', '\\"')
  302. vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
  303. end