packer.nvim
packer.nvim copied to clipboard
Can't update plugins on docker container
-
nvim --version: NVIM v0.8.2 -
git --version: git version 2.39.1 - Operating system/version: "archlinux:latest"
- Terminal name/version: Konsole v22.12.1
Steps to reproduce
Install AstroNvim, perform a headless install and then try to update the plugins via PackerSync
Actual behaviour
On trying to update gives the following as error (for each plugin)
Errors:
fatal: unable to access 'https://github.com/Shatur/neovim-session-manager.git/': Could not resolve host: github.com
fatal: unable to access 'https://github.com/Shatur/neovim-session-manager.git/': Could not resolve host: github.com
f8c85da
Expected behaviour
Update all outdated packages by pulling from remote repositories
packer files
packer log file
-- log.lua
--
-- Inspired by rxi/log.lua
-- Modified by tjdevries and can be found at github.com/tjdevries/vlog.nvim
--
-- This library is free software; you can redistribute it and/or modify it
-- under the terms of the MIT license. See LICENSE for details.
-- User configuration section
local default_config = {
-- Name of the plugin. Prepended to log messages
plugin = 'packer.nvim',
-- Should print the output to neovim while running
use_console = true,
-- Should highlighting be used in console (using echohl)
highlights = true,
-- Should write to a file
use_file = true,
-- Any messages above this level will be logged.
level = 'debug',
-- Level configuration
modes = {
{ name = 'trace', hl = 'Comment' },
{ name = 'debug', hl = 'Comment' },
{ name = 'info', hl = 'None' },
{ name = 'warn', hl = 'WarningMsg' },
{ name = 'error', hl = 'ErrorMsg' },
{ name = 'fatal', hl = 'ErrorMsg' },
},
-- Which levels should be logged?
active_levels = { [1] = true, [2] = true, [3] = true, [4] = true, [5] = true, [6] = true },
-- Can limit the number of decimals displayed for floats
float_precision = 0.01,
}
-- {{{ NO NEED TO CHANGE
local log = {}
local unpack = unpack or table.unpack
local level_ids = { trace = 1, debug = 2, info = 3, warn = 4, error = 5, fatal = 6 }
log.cfg = function(_config)
local min_active_level = level_ids[_config.log.level]
local config = { active_levels = {} }
if min_active_level then
for i = min_active_level, 6 do
config.active_levels[i] = true
end
end
log.new(config, true)
end
log.new = function(config, standalone)
config = vim.tbl_deep_extend('force', default_config, config)
local outfile = string.format('%s/%s.log', vim.fn.stdpath 'cache', config.plugin)
vim.fn.mkdir(vim.fn.stdpath 'cache', 'p')
local obj
if standalone then
obj = log
else
obj = {}
end
local levels = {}
for i, v in ipairs(config.modes) do
levels[v.name] = i
end
local round = function(x, increment)
increment = increment or 1
x = x / increment
return (x > 0 and math.floor(x + 0.5) or math.ceil(x - 0.5)) * increment
end
local make_string = function(...)
local t = {}
for i = 1, select('#', ...) do
local x = select(i, ...)
if type(x) == 'number' and config.float_precision then
x = tostring(round(x, config.float_precision))
elseif type(x) == 'table' then
x = vim.inspect(x)
else
x = tostring(x)
end
t[#t + 1] = x
end
return table.concat(t, ' ')
end
local console_output = vim.schedule_wrap(function(level_config, info, nameupper, msg)
local console_lineinfo = vim.fn.fnamemodify(info.short_src, ':t') .. ':' .. info.currentline
local console_string = string.format('[%-6s%s] %s: %s', nameupper, os.date '%H:%M:%S', console_lineinfo, msg)
-- Heuristic to check for nvim-notify
local is_fancy_notify = type(vim.notify) == 'table'
vim.notify(
string.format([[%s%s]], is_fancy_notify and '' or ('[' .. config.plugin .. '] '), console_string),
vim.log.levels[level_config.name:upper()],
{ title = config.plugin }
)
end)
local log_at_level = function(level, level_config, message_maker, ...)
-- Return early if we're below the config.level
if level < levels[config.level] then
return
end
local nameupper = level_config.name:upper()
local msg = message_maker(...)
local info = debug.getinfo(2, 'Sl')
local lineinfo = info.short_src .. ':' .. info.currentline
-- Output to console
if config.use_console and config.active_levels[level] then
console_output(level_config, info, nameupper, msg)
end
-- Output to log file
if config.use_file and config.active_levels[level] then
local fp, err = io.open(outfile, 'a')
if not fp then
print(err)
return
end
local str = string.format('[%-6s%s %s] %s: %s\n', nameupper, os.date(), vim.loop.hrtime(), lineinfo, msg)
fp:write(str)
fp:close()
end
end
for i, x in ipairs(config.modes) do
obj[x.name] = function(...)
return log_at_level(i, x, make_string, ...)
end
obj[('fmt_%s'):format(x.name)] = function()
return log_at_level(i, x, function(...)
local passed = { ... }
local fmt = table.remove(passed, 1)
local inspected = {}
for _, v in ipairs(passed) do
table.insert(inspected, vim.inspect(v))
end
return string.format(fmt, unpack(inspected))
end)
end
end
end
log.new(default_config, true)
-- }}}
return log
packer compiled file
-- Automatically generated packer.nvim plugin loader code
if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
return
end
vim.api.nvim_command('packadd packer.nvim')
local no_errors, error_msg = pcall(function()
_G._packer = _G._packer or {}
_G._packer.inside_compile = true
local time
local profile_info
local should_profile = true
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
if threshold then
table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)')
end
_G._packer.profile_output = results
end
time([[Luarocks path setup]], true)
local package_path_str = "/home/suraj/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/suraj/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/suraj/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/suraj/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/suraj/.cache/nvim/packer_hererocks/2.1.0-beta3/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), name, _G.packer_plugins[name])
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 = {
["Comment.nvim"] = {
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20configs.Comment\frequire\0" },
keys = { { "", "gc" }, { "", "gb" } },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/Comment.nvim",
url = "https://github.com/numToStr/Comment.nvim"
},
LuaSnip = {
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20configs.luasnip\frequire\0" },
loaded = false,
needs_bufread = true,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip",
wants = { "friendly-snippets" }
},
["SchemaStore.nvim"] = {
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/SchemaStore.nvim",
url = "https://github.com/b0o/SchemaStore.nvim"
},
["aerial.nvim"] = {
config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19configs.aerial\frequire\0" },
load_after = {
["nvim-lspconfig"] = true,
["nvim-treesitter"] = true
},
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/aerial.nvim",
url = "https://github.com/stevearc/aerial.nvim"
},
["alpha-nvim"] = {
config = { "\27LJ\2\n-\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\18configs.alpha\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/alpha-nvim",
url = "https://github.com/goolord/alpha-nvim"
},
["better-escape.nvim"] = {
config = { "\27LJ\2\n5\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\26configs.better_escape\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/better-escape.nvim",
url = "https://github.com/max397574/better-escape.nvim"
},
["bufdelete.nvim"] = {
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/bufdelete.nvim",
url = "https://github.com/famiu/bufdelete.nvim"
},
["bufferline.nvim"] = {
config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23configs.bufferline\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/bufferline.nvim",
url = "https://github.com/akinsho/bufferline.nvim"
},
["cmp-buffer"] = {
after_files = { "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after/plugin/cmp_buffer.lua" },
config = { "\27LJ\2\n@\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\vbuffer\24add_user_cmp_source\14astronvim\0" },
load_after = {
["nvim-cmp"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer"
},
["cmp-nvim-lsp"] = {
after_files = { "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua" },
config = { "\27LJ\2\nB\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\rnvim_lsp\24add_user_cmp_source\14astronvim\0" },
load_after = {
["nvim-cmp"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp"
},
["cmp-path"] = {
after_files = { "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp-path/after/plugin/cmp_path.lua" },
config = { "\27LJ\2\n>\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\tpath\24add_user_cmp_source\14astronvim\0" },
load_after = {
["nvim-cmp"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp-path",
url = "https://github.com/hrsh7th/cmp-path"
},
cmp_luasnip = {
after_files = { "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp_luasnip/after/plugin/cmp_luasnip.lua" },
config = { "\27LJ\2\nA\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\fluasnip\24add_user_cmp_source\14astronvim\0" },
load_after = {
["nvim-cmp"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip"
},
["dressing.nvim"] = {
config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21configs.dressing\frequire\0" },
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/dressing.nvim",
url = "https://github.com/stevearc/dressing.nvim"
},
["friendly-snippets"] = {
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/friendly-snippets",
url = "https://github.com/rafamadriz/friendly-snippets"
},
["gitsigns.nvim"] = {
config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21configs.gitsigns\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/gitsigns.nvim",
url = "https://github.com/lewis6991/gitsigns.nvim"
},
["heirline.nvim"] = {
config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21configs.heirline\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/heirline.nvim",
url = "https://github.com/rebelot/heirline.nvim"
},
["impatient.nvim"] = {
loaded = true,
path = "/home/suraj/.local/share/nvim/site/pack/packer/start/impatient.nvim",
url = "https://github.com/lewis6991/impatient.nvim"
},
["indent-blankline.nvim"] = {
config = { "\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24configs.indent-line\frequire\0" },
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/indent-blankline.nvim",
url = "https://github.com/lukas-reineke/indent-blankline.nvim"
},
["indent-o-matic"] = {
config = { "\27LJ\2\n6\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\27configs.indent-o-matic\frequire\0" },
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/indent-o-matic",
url = "https://github.com/Darazaki/indent-o-matic"
},
["lspkind.nvim"] = {
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20configs.lspkind\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/lspkind.nvim",
url = "https://github.com/onsails/lspkind.nvim"
},
["mason-lspconfig.nvim"] = {
config = { "\27LJ\2\n7\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\28configs.mason-lspconfig\frequire\0" },
load_after = {
["nvim-lspconfig"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/mason-lspconfig.nvim",
url = "https://github.com/williamboman/mason-lspconfig.nvim"
},
["mason-null-ls.nvim"] = {
config = { "\27LJ\2\n5\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\26configs.mason-null-ls\frequire\0" },
load_after = {
["null-ls.nvim"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/mason-null-ls.nvim",
url = "https://github.com/jayp0521/mason-null-ls.nvim"
},
["mason-nvim-dap.nvim"] = {
config = { "\27LJ\2\n6\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\27configs.mason-nvim-dap\frequire\0" },
load_after = {
["nvim-dap"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/mason-nvim-dap.nvim",
url = "https://github.com/jayp0521/mason-nvim-dap.nvim"
},
["mason.nvim"] = {
commands = { "Mason", "MasonInstall", "MasonUninstall", "MasonUninstallAll", "MasonLog", "MasonUpdate", "MasonUpdateAll", "DapInstall", "DapUninstall", "LspInstall", "LspUninstall", "NullLsInstall", "NullLsUninstall" },
config = { "\27LJ\2\n)\0\1\5\0\2\0\0056\1\0\0006\3\1\0\18\4\0\0B\1\3\1K\0\1\0\frequire\npcallh\1\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0016\0\2\0009\0\3\0003\2\4\0005\3\5\0B\0\3\1K\0\1\0\1\4\0\0\14lspconfig\fnull-ls\bdap\0\ftbl_map\bvim\18configs.mason\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/mason.nvim",
url = "https://github.com/williamboman/mason.nvim"
},
["neo-tree.nvim"] = {
config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21configs.neo-tree\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/neo-tree.nvim",
url = "https://github.com/nvim-neo-tree/neo-tree.nvim"
},
["neovim-session-manager"] = {
config = { "\27LJ\2\n7\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\28configs.session_manager\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/neovim-session-manager",
url = "https://github.com/Shatur/neovim-session-manager"
},
["nui.nvim"] = {
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nui.nvim",
url = "https://github.com/MunifTanjim/nui.nvim"
},
["null-ls.nvim"] = {
after = { "mason-null-ls.nvim" },
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20configs.null-ls\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/null-ls.nvim",
url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
},
["nvim-autopairs"] = {
config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22configs.autopairs\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-autopairs",
url = "https://github.com/windwp/nvim-autopairs"
},
["nvim-cmp"] = {
after = { "cmp-path", "cmp-buffer", "cmp_luasnip", "cmp-nvim-lsp" },
config = { "\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16configs.cmp\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp"
},
["nvim-colorizer.lua"] = {
config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22configs.colorizer\frequire\0" },
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-colorizer.lua",
url = "https://github.com/NvChad/nvim-colorizer.lua"
},
["nvim-dap"] = {
after = { "nvim-dap-ui", "mason-nvim-dap.nvim" },
config = { "\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16configs.dap\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-dap",
url = "https://github.com/mfussenegger/nvim-dap"
},
["nvim-dap-ui"] = {
config = { "\27LJ\2\n-\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\18configs.dapui\frequire\0" },
load_after = {
["nvim-dap"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-dap-ui",
url = "https://github.com/rcarriga/nvim-dap-ui"
},
["nvim-lspconfig"] = {
after = { "aerial.nvim", "mason-lspconfig.nvim" },
config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22configs.lspconfig\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig"
},
["nvim-notify"] = {
config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19configs.notify\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-notify",
url = "https://github.com/rcarriga/nvim-notify"
},
["nvim-treesitter"] = {
after = { "nvim-ts-rainbow", "nvim-ts-autotag", "nvim-ts-context-commentstring", "aerial.nvim" },
config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23configs.treesitter\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter"
},
["nvim-ts-autotag"] = {
load_after = {
["nvim-treesitter"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-ts-autotag",
url = "https://github.com/windwp/nvim-ts-autotag"
},
["nvim-ts-context-commentstring"] = {
load_after = {
["nvim-treesitter"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-ts-context-commentstring",
url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring"
},
["nvim-ts-rainbow"] = {
load_after = {
["nvim-treesitter"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-ts-rainbow",
url = "https://github.com/p00f/nvim-ts-rainbow"
},
["nvim-web-devicons"] = {
config = { "\27LJ\2\n9\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\30configs.nvim-web-devicons\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons",
url = "https://github.com/nvim-tree/nvim-web-devicons"
},
["nvim-window-picker"] = {
config = { "\27LJ\2\n5\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\26configs.window-picker\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/nvim-window-picker",
url = "https://github.com/s1n7ax/nvim-window-picker"
},
["oxocarbon.nvim"] = {
loaded = true,
path = "/home/suraj/.local/share/nvim/site/pack/packer/start/oxocarbon.nvim",
url = "https://github.com/nyoom-engineering/oxocarbon.nvim"
},
["packer.nvim"] = {
config = { "\27LJ\2\n,\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\17core.plugins\frequire\0" },
loaded = true,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim"
},
["plenary.nvim"] = {
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
},
["smart-splits.nvim"] = {
config = { "\27LJ\2\n4\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\25configs.smart-splits\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/smart-splits.nvim",
url = "https://github.com/mrjones2014/smart-splits.nvim"
},
["telescope-fzf-native.nvim"] = {
config = { "\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bfzf\19load_extension\14telescope\frequire\0" },
load_after = {
["telescope.nvim"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/telescope-fzf-native.nvim",
url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim"
},
["telescope.nvim"] = {
after = { "telescope-fzf-native.nvim" },
config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22configs.telescope\frequire\0" },
loaded = false,
needs_bufread = true,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim"
},
["toggleterm.nvim"] = {
config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23configs.toggleterm\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/toggleterm.nvim",
url = "https://github.com/akinsho/toggleterm.nvim"
},
["vim-go-coverage"] = {
loaded = true,
path = "/home/suraj/.local/share/nvim/site/pack/packer/start/vim-go-coverage",
url = "https://github.com/kyoh86/vim-go-coverage"
},
["which-key.nvim"] = {
config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22configs.which-key\frequire\0" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/home/suraj/.local/share/nvim/site/pack/packer/opt/which-key.nvim",
url = "https://github.com/folke/which-key.nvim"
}
}
time([[Defining packer_plugins]], false)
local module_lazy_loads = {
["^Comment"] = "Comment.nvim",
["^aerial"] = "aerial.nvim",
["^alpha"] = "alpha-nvim",
["^bufdelete"] = "bufdelete.nvim",
["^bufferline"] = "bufferline.nvim",
["^dap"] = "nvim-dap",
["^lspconfig"] = "nvim-lspconfig",
["^lspkind"] = "lspkind.nvim",
["^luasnip"] = "LuaSnip",
["^mason"] = "mason.nvim",
["^neo%-tree"] = "neo-tree.nvim",
["^notify"] = "nvim-notify",
["^nui"] = "nui.nvim",
["^null%-ls"] = "null-ls.nvim",
["^nvim%-treesitter"] = "nvim-treesitter",
["^nvim%-web%-devicons"] = "nvim-web-devicons",
["^plenary"] = "plenary.nvim",
["^schemastore"] = "SchemaStore.nvim",
["^session_manager"] = "neovim-session-manager",
["^smart%-splits"] = "smart-splits.nvim",
["^telescope"] = "telescope.nvim",
["^toggleterm"] = "toggleterm.nvim",
["^which%-key"] = "which-key.nvim",
["^window%-picker"] = "nvim-window-picker"
}
local lazy_load_called = {['packer.load'] = true}
local function lazy_load_module(module_name)
local to_load = {}
if lazy_load_called[module_name] then return nil end
lazy_load_called[module_name] = true
for module_pat, plugin_name in pairs(module_lazy_loads) do
if not _G.packer_plugins[plugin_name].loaded and string.match(module_name, module_pat) then
to_load[#to_load + 1] = plugin_name
end
end
if #to_load > 0 then
require('packer.load')(to_load, {module = module_name}, _G.packer_plugins)
local loaded_mod = package.loaded[module_name]
if loaded_mod then
return function(modname) return loaded_mod end
end
end
end
if not vim.g.packer_custom_loader_enabled then
table.insert(package.loaders, 1, lazy_load_module)
vim.g.packer_custom_loader_enabled = true
end
-- Setup for: nvim-colorizer.lua
time([[Setup for nvim-colorizer.lua]], true)
try_loadstring("\27LJ\2\ná\1\0\0\4\0\a\0\f6\0\0\0009\0\1\0'\2\2\0005\3\3\0B\0\3\0016\0\4\0009\0\5\0006\2\0\0009\2\6\2'\3\2\0B\0\3\1K\0\1\0\17file_plugins\vinsert\ntable\1\5\0\0\20ColorizerToggle\28ColorizerAttachToBuffer\30ColorizerDetachFromBuffer\30ColorizerReloadAllBuffers\23nvim-colorizer.lua\23lazy_load_commands\14astronvim\0", "setup", "nvim-colorizer.lua")
time([[Setup for nvim-colorizer.lua]], false)
-- Setup for: bufdelete.nvim
time([[Setup for bufdelete.nvim]], true)
try_loadstring("\27LJ\2\n`\0\0\4\0\4\0\0066\0\0\0009\0\1\0'\2\2\0005\3\3\0B\0\3\1K\0\1\0\1\3\0\0\fBdelete\rBwipeout\19bufdelete.nvim\23lazy_load_commands\14astronvim\0", "setup", "bufdelete.nvim")
time([[Setup for bufdelete.nvim]], false)
-- Setup for: null-ls.nvim
time([[Setup for null-ls.nvim]], true)
try_loadstring("\27LJ\2\nT\0\0\4\0\5\0\a6\0\0\0009\0\1\0006\2\2\0009\2\3\2'\3\4\0B\0\3\1K\0\1\0\17null-ls.nvim\17file_plugins\14astronvim\vinsert\ntable\0", "setup", "null-ls.nvim")
time([[Setup for null-ls.nvim]], false)
-- Setup for: gitsigns.nvim
time([[Setup for gitsigns.nvim]], true)
try_loadstring("\27LJ\2\nT\0\0\4\0\5\0\a6\0\0\0009\0\1\0006\2\2\0009\2\3\2'\3\4\0B\0\3\1K\0\1\0\18gitsigns.nvim\16git_plugins\14astronvim\vinsert\ntable\0", "setup", "gitsigns.nvim")
time([[Setup for gitsigns.nvim]], false)
-- Setup for: packer.nvim
time([[Setup for packer.nvim]], true)
try_loadstring("\27LJ\2\ní\1\0\0\4\0\4\0\0066\0\0\0009\0\1\0'\2\2\0005\3\3\0B\0\3\1K\0\1\0\1\f\0\0\19PackerSnapshot\27PackerSnapshotRollback\25PackerSnapshotDelete\18PackerInstall\17PackerUpdate\15PackerSync\16PackerClean\18PackerCompile\17PackerStatus\18PackerProfile\15PackerLoad\16packer.nvim\23lazy_load_commands\14astronvim\0", "setup", "packer.nvim")
time([[Setup for packer.nvim]], false)
time([[packadd for packer.nvim]], true)
vim.cmd [[packadd packer.nvim]]
time([[packadd for packer.nvim]], false)
-- Setup for: nvim-lspconfig
time([[Setup for nvim-lspconfig]], true)
try_loadstring("\27LJ\2\nV\0\0\4\0\5\0\a6\0\0\0009\0\1\0006\2\2\0009\2\3\2'\3\4\0B\0\3\1K\0\1\0\19nvim-lspconfig\17file_plugins\14astronvim\vinsert\ntable\0", "setup", "nvim-lspconfig")
time([[Setup for nvim-lspconfig]], false)
-- Setup for: alpha-nvim
time([[Setup for alpha-nvim]], true)
try_loadstring("\27LJ\2\nM\0\0\4\0\4\0\0066\0\0\0009\0\1\0'\2\2\0'\3\3\0B\0\3\1K\0\1\0\nAlpha\15alpha-nvim\23lazy_load_commands\14astronvim\0", "setup", "alpha-nvim")
time([[Setup for alpha-nvim]], false)
-- Setup for: indent-blankline.nvim
time([[Setup for indent-blankline.nvim]], true)
try_loadstring("\27LJ\2\n]\0\0\4\0\5\0\a6\0\0\0009\0\1\0006\2\2\0009\2\3\2'\3\4\0B\0\3\1K\0\1\0\26indent-blankline.nvim\17file_plugins\14astronvim\vinsert\ntable\0", "setup", "indent-blankline.nvim")
time([[Setup for indent-blankline.nvim]], false)
-- Setup for: nvim-notify
time([[Setup for nvim-notify]], true)
try_loadstring("\27LJ\2\nZ\0\0\5\0\5\0\a6\0\0\0009\0\1\0'\2\2\0006\3\3\0'\4\4\0B\0\4\1K\0\1\0\vnotify\bvim\16nvim-notify\26load_plugin_with_func\14astronvim\0", "setup", "nvim-notify")
time([[Setup for nvim-notify]], false)
-- Setup for: dressing.nvim
time([[Setup for dressing.nvim]], true)
try_loadstring("\27LJ\2\nm\0\0\5\0\6\0\b6\0\0\0009\0\1\0'\2\2\0006\3\3\0009\3\4\0035\4\5\0B\0\4\1K\0\1\0\1\3\0\0\ninput\vselect\aui\bvim\18dressing.nvim\26load_plugin_with_func\14astronvim\0", "setup", "dressing.nvim")
time([[Setup for dressing.nvim]], false)
-- Setup for: toggleterm.nvim
time([[Setup for toggleterm.nvim]], true)
try_loadstring("\27LJ\2\nd\0\0\4\0\4\0\0066\0\0\0009\0\1\0'\2\2\0005\3\3\0B\0\3\1K\0\1\0\1\3\0\0\15ToggleTerm\rTermExec\20toggleterm.nvim\23lazy_load_commands\14astronvim\0", "setup", "toggleterm.nvim")
time([[Setup for toggleterm.nvim]], false)
-- Setup for: neovim-session-manager
time([[Setup for neovim-session-manager]], true)
try_loadstring("\27LJ\2\nb\0\0\4\0\4\0\0066\0\0\0009\0\1\0'\2\2\0'\3\3\0B\0\3\1K\0\1\0\19SessionManager\27neovim-session-manager\23lazy_load_commands\14astronvim\0", "setup", "neovim-session-manager")
time([[Setup for neovim-session-manager]], false)
-- Setup for: indent-o-matic
time([[Setup for indent-o-matic]], true)
try_loadstring("\27LJ\2\nV\0\0\4\0\5\0\a6\0\0\0009\0\1\0006\2\2\0009\2\3\2'\3\4\0B\0\3\1K\0\1\0\19indent-o-matic\17file_plugins\14astronvim\vinsert\ntable\0", "setup", "indent-o-matic")
time([[Setup for indent-o-matic]], false)
-- Setup for: telescope.nvim
time([[Setup for telescope.nvim]], true)
try_loadstring("\27LJ\2\nU\0\0\4\0\4\0\0066\0\0\0009\0\1\0'\2\2\0'\3\3\0B\0\3\1K\0\1\0\14Telescope\19telescope.nvim\23lazy_load_commands\14astronvim\0", "setup", "telescope.nvim")
time([[Setup for telescope.nvim]], false)
-- Setup for: neo-tree.nvim
time([[Setup for neo-tree.nvim]], true)
try_loadstring("\27LJ\2\nˆ\1\0\0\4\0\a\0\n6\0\0\0009\0\1\0'\2\2\0'\3\3\0B\0\3\0016\0\4\0009\0\5\0+\1\2\0=\1\6\0K\0\1\0$neo_tree_remove_legacy_commands\6g\bvim\fNeotree\18neo-tree.nvim\23lazy_load_commands\14astronvim\0", "setup", "neo-tree.nvim")
time([[Setup for neo-tree.nvim]], false)
-- Setup for: nvim-treesitter
time([[Setup for nvim-treesitter]], true)
try_loadstring("\27LJ\2\n˜\2\0\0\4\0\a\0\f6\0\0\0009\0\1\0006\2\2\0009\2\3\2'\3\4\0B\0\3\0016\0\2\0009\0\5\0'\2\4\0005\3\6\0B\0\3\1K\0\1\0\1\14\0\0\17TSBufDisable\16TSBufEnable\16TSBufToggle\14TSDisable\rTSEnable\rTSToggle\14TSInstall\18TSInstallInfo\18TSInstallSync\17TSModuleInfo\16TSUninstall\rTSUpdate\17TSUpdateSync\23lazy_load_commands\20nvim-treesitter\17file_plugins\14astronvim\vinsert\ntable\0", "setup", "nvim-treesitter")
time([[Setup for nvim-treesitter]], false)
-- Config for: packer.nvim
time([[Config for packer.nvim]], true)
try_loadstring("\27LJ\2\n,\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\17core.plugins\frequire\0", "config", "packer.nvim")
time([[Config for packer.nvim]], false)
-- Command lazy-loads
time([[Defining lazy-load commands]], true)
pcall(vim.api.nvim_create_user_command, 'MasonUpdateAll', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUpdateAll', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUpdateAll' }, _G.packer_plugins)
return vim.fn.getcompletion('MasonUpdateAll ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'DapUninstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'DapUninstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'DapUninstall' }, _G.packer_plugins)
return vim.fn.getcompletion('DapUninstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'DapInstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'DapInstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'DapInstall' }, _G.packer_plugins)
return vim.fn.getcompletion('DapInstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'MasonLog', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'MasonLog', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'MasonLog' }, _G.packer_plugins)
return vim.fn.getcompletion('MasonLog ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'Mason', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'Mason', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'Mason' }, _G.packer_plugins)
return vim.fn.getcompletion('Mason ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'MasonInstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'MasonInstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'MasonInstall' }, _G.packer_plugins)
return vim.fn.getcompletion('MasonInstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'NullLsUninstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'NullLsUninstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'NullLsUninstall' }, _G.packer_plugins)
return vim.fn.getcompletion('NullLsUninstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'MasonUninstallAll', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUninstallAll', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUninstallAll' }, _G.packer_plugins)
return vim.fn.getcompletion('MasonUninstallAll ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'NullLsInstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'NullLsInstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'NullLsInstall' }, _G.packer_plugins)
return vim.fn.getcompletion('NullLsInstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'MasonUpdate', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUpdate', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUpdate' }, _G.packer_plugins)
return vim.fn.getcompletion('MasonUpdate ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'LspUninstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'LspUninstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'LspUninstall' }, _G.packer_plugins)
return vim.fn.getcompletion('LspUninstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'LspInstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'LspInstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'LspInstall' }, _G.packer_plugins)
return vim.fn.getcompletion('LspInstall ', 'cmdline')
end})
pcall(vim.api.nvim_create_user_command, 'MasonUninstall', function(cmdargs)
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUninstall', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
end,
{nargs = '*', range = true, bang = true, complete = function()
require('packer.load')({'mason.nvim'}, { cmd = 'MasonUninstall' }, _G.packer_plugins)
return vim.fn.getcompletion('MasonUninstall ', 'cmdline')
end})
time([[Defining lazy-load commands]], false)
-- Keymap lazy-loads
time([[Defining lazy-load keymaps]], true)
vim.cmd [[noremap <silent> gb <cmd>lua require("packer.load")({'Comment.nvim'}, { keys = "gb", prefix = "" }, _G.packer_plugins)<cr>]]
vim.cmd [[noremap <silent> gc <cmd>lua require("packer.load")({'Comment.nvim'}, { keys = "gc", prefix = "" }, _G.packer_plugins)<cr>]]
time([[Defining lazy-load keymaps]], false)
vim.cmd [[augroup packer_load_aucmds]]
vim.cmd [[au!]]
-- Filetype lazy-loads
time([[Defining lazy-load filetype autocommands]], true)
vim.cmd [[au FileType man ++once lua require("packer.load")({'aerial.nvim'}, { ft = "man" }, _G.packer_plugins)]]
vim.cmd [[au FileType gitcommit ++once lua require("packer.load")({'gitsigns.nvim'}, { ft = "gitcommit" }, _G.packer_plugins)]]
vim.cmd [[au FileType markdown ++once lua require("packer.load")({'aerial.nvim'}, { ft = "markdown" }, _G.packer_plugins)]]
time([[Defining lazy-load filetype autocommands]], false)
-- Event lazy-loads
time([[Defining lazy-load event autocommands]], true)
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-cmp', 'nvim-autopairs'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'heirline.nvim'}, { event = "VimEnter *" }, _G.packer_plugins)]]
vim.cmd [[au InsertCharPre * ++once lua require("packer.load")({'better-escape.nvim'}, { event = "InsertCharPre *" }, _G.packer_plugins)]]
vim.cmd [[au UIEnter * ++once lua require("packer.load")({'bufferline.nvim'}, { event = "UIEnter *" }, _G.packer_plugins)]]
vim.cmd [[au BufWritePost * ++once lua require("packer.load")({'neovim-session-manager'}, { event = "BufWritePost *" }, _G.packer_plugins)]]
time([[Defining lazy-load event autocommands]], false)
vim.cmd("augroup END")
_G._packer.inside_compile = false
if _G._packer.needs_bufread == true then
vim.cmd("doautocmd BufRead")
end
_G._packer.needs_bufread = false
if should_profile then save_profiles(0) end
end)
if not no_errors then
error_msg = error_msg:gsub('"', '\\"')
vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
end