" Automatically generated packer.nvim plugin loader code if !has('nvim-0.5') echohl WarningMsg echom "Invalid Neovim version for packer.nvim!" echohl None finish endif packadd packer.nvim try lua << END local time local profile_info local should_profile = false if should_profile then local hrtime = vim.loop.hrtime profile_info = {} time = function(chunk, start) if start then profile_info[chunk] = hrtime() else profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 end end else time = function(chunk, start) end end local function save_profiles(threshold) local sorted_times = {} for chunk_name, time_taken in pairs(profile_info) do sorted_times[#sorted_times + 1] = {chunk_name, time_taken} end table.sort(sorted_times, function(a, b) return a[2] > b[2] end) local results = {} for i, elem in ipairs(sorted_times) do if not threshold or threshold and elem[2] > threshold then results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' end end _G._packer = _G._packer or {} _G._packer.profile_output = results end time("Luarocks path setup", true) local package_path_str = "/tmp/robert/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/tmp/robert/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/tmp/robert/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/tmp/robert/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua" local install_cpath_pattern = "/tmp/robert/.cache/nvim/packer_hererocks/2.0.5/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 if not string.find(package.cpath, install_cpath_pattern, 1, true) then package.cpath = package.cpath .. ';' .. install_cpath_pattern end time("Luarocks path setup", false) time("try_loadstring definition", true) local function try_loadstring(s, component, name) local success, result = pcall(loadstring(s)) if not success then vim.schedule(function() vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) end) end return result end time("try_loadstring definition", false) time("Defining packer_plugins", true) _G.packer_plugins = { ["astronauta.nvim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/astronauta.nvim" }, ["completion-buffers"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/completion-buffers" }, ["completion-nvim"] = { config = { "require('plugins._completion')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/completion-nvim" }, ["completion-treesitter"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/completion-treesitter" }, ["editorconfig-vim"] = { config = { "require('plugins._editorconfig')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/editorconfig-vim" }, ["gentoo-syntax"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/gentoo-syntax" }, ["git-messenger.vim"] = { config = { "require('plugins._git-messenger')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/git-messenger.vim" }, ["goyo.vim"] = { commands = { "Goyo" }, config = { "require('plugins._goyo')" }, loaded = false, needs_bufread = false, path = "/home/robert/.local/share/nvim/site/pack/packer/opt/goyo.vim" }, ["lexima.vim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/lexima.vim" }, ["limelight.vim"] = { commands = { "Limelight" }, config = { "require('plugins._limelight')" }, loaded = false, needs_bufread = false, path = "/home/robert/.local/share/nvim/site/pack/packer/opt/limelight.vim" }, ["lush.nvim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/lush.nvim" }, neoformat = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/neoformat" }, neogit = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/neogit" }, ["neuron.nvim"] = { config = { "require('.plugins._neuron')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/neuron.nvim" }, ["nvim-colorizer.lua"] = { config = { "require('plugins._colorizer')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua" }, ["nvim-lightbulb"] = { config = { "require('plugins._lightbulb')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/nvim-lightbulb" }, ["nvim-lspconfig"] = { config = { "require('plugins._lsp')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/nvim-lspconfig" }, ["nvim-treesitter"] = { config = { "require('plugins._treesitter')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/nvim-treesitter" }, ["nvim-treesitter-refactor"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor" }, ["packer.nvim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/packer.nvim" }, ["plenary.nvim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/plenary.nvim" }, ["popup.nvim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/popup.nvim" }, ["telescope-fzf-writer.nvim"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/telescope-fzf-writer.nvim" }, ["telescope.nvim"] = { config = { "require('plugins._telescope')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/telescope.nvim" }, ultisnips = { config = { "require('plugins._ultisnips')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/ultisnips" }, ["vim-commentary"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-commentary" }, ["vim-cue"] = { loaded = false, needs_bufread = true, path = "/home/robert/.local/share/nvim/site/pack/packer/opt/vim-cue" }, ["vim-dirvish"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-dirvish" }, ["vim-easy-align"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-easy-align" }, ["vim-github-link"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-github-link" }, ["vim-indent-object"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-indent-object" }, ["vim-markdown"] = { config = { "require('plugins._markdown')" }, loaded = false, needs_bufread = true, path = "/home/robert/.local/share/nvim/site/pack/packer/opt/vim-markdown" }, ["vim-markdown-folding"] = { loaded = false, needs_bufread = true, path = "/home/robert/.local/share/nvim/site/pack/packer/opt/vim-markdown-folding" }, ["vim-polyglot"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-polyglot" }, ["vim-repeat"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-repeat" }, ["vim-signify"] = { config = { "require('plugins._signify')" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-signify" }, ["vim-sneak"] = { config = { "vim.g['sneak#label'] = true" }, loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-sneak" }, ["vim-snippets"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-snippets" }, ["vim-surround"] = { loaded = true, path = "/home/robert/.local/share/nvim/site/pack/packer/start/vim-surround" }, vimtex = { config = { "require('plugins._vimtex')" }, loaded = false, needs_bufread = true, path = "/home/robert/.local/share/nvim/site/pack/packer/opt/vimtex" } } time("Defining packer_plugins", false) -- Config for: telescope.nvim time("Config for telescope.nvim", true) require('plugins._telescope') time("Config for telescope.nvim", false) -- Config for: editorconfig-vim time("Config for editorconfig-vim", true) require('plugins._editorconfig') time("Config for editorconfig-vim", false) -- Config for: neuron.nvim time("Config for neuron.nvim", true) require('.plugins._neuron') time("Config for neuron.nvim", false) -- Config for: git-messenger.vim time("Config for git-messenger.vim", true) require('plugins._git-messenger') time("Config for git-messenger.vim", false) -- Config for: completion-nvim time("Config for completion-nvim", true) require('plugins._completion') time("Config for completion-nvim", false) -- Config for: nvim-lightbulb time("Config for nvim-lightbulb", true) require('plugins._lightbulb') time("Config for nvim-lightbulb", false) -- Config for: nvim-colorizer.lua time("Config for nvim-colorizer.lua", true) require('plugins._colorizer') time("Config for nvim-colorizer.lua", false) -- Config for: vim-signify time("Config for vim-signify", true) require('plugins._signify') time("Config for vim-signify", false) -- Config for: vim-sneak time("Config for vim-sneak", true) vim.g['sneak#label'] = true time("Config for vim-sneak", false) -- Config for: nvim-lspconfig time("Config for nvim-lspconfig", true) require('plugins._lsp') time("Config for nvim-lspconfig", false) -- Config for: ultisnips time("Config for ultisnips", true) require('plugins._ultisnips') time("Config for ultisnips", false) -- Config for: nvim-treesitter time("Config for nvim-treesitter", true) require('plugins._treesitter') time("Config for nvim-treesitter", false) -- Command lazy-loads time("Defining lazy-load commands", true) vim.cmd [[command! -nargs=* -range -bang -complete=file Goyo lua require("packer.load")({'goyo.vim'}, { cmd = "Goyo", l1 = , l2 = , bang = , args = }, _G.packer_plugins)]] vim.cmd [[command! -nargs=* -range -bang -complete=file Limelight lua require("packer.load")({'limelight.vim'}, { cmd = "Limelight", l1 = , l2 = , bang = , args = }, _G.packer_plugins)]] time("Defining lazy-load commands", false) vim.cmd [[augroup packer_load_aucmds]] vim.cmd [[au!]] -- Filetype lazy-loads time("Defining lazy-load filetype autocommands", true) vim.cmd [[au FileType markdown ++once lua require("packer.load")({'vim-markdown-folding', 'vim-markdown'}, { ft = "markdown" }, _G.packer_plugins)]] vim.cmd [[au FileType cue ++once lua require("packer.load")({'vim-cue'}, { ft = "cue" }, _G.packer_plugins)]] vim.cmd [[au FileType latex ++once lua require("packer.load")({'vimtex'}, { ft = "latex" }, _G.packer_plugins)]] vim.cmd [[au FileType tex ++once lua require("packer.load")({'vimtex'}, { ft = "tex" }, _G.packer_plugins)]] time("Defining lazy-load filetype autocommands", false) vim.cmd("augroup END") vim.cmd [[augroup filetypedetect]] time("Sourcing ftdetect script at: /home/robert/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim", true) vim.cmd [[source /home/robert/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]] time("Sourcing ftdetect script at: /home/robert/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim", false) time("Sourcing ftdetect script at: /home/robert/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim", true) vim.cmd [[source /home/robert/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]] time("Sourcing ftdetect script at: /home/robert/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim", false) time("Sourcing ftdetect script at: /home/robert/.local/share/nvim/site/pack/packer/opt/vim-cue/ftdetect/cue.vim", true) vim.cmd [[source /home/robert/.local/share/nvim/site/pack/packer/opt/vim-cue/ftdetect/cue.vim]] time("Sourcing ftdetect script at: /home/robert/.local/share/nvim/site/pack/packer/opt/vim-cue/ftdetect/cue.vim", false) vim.cmd("augroup END") if should_profile then save_profiles() end END catch echohl ErrorMsg echom "Error in packer_compiled: " .. v:exception echom "Please check your config for correctness" echohl None endtry