dots-of-war/files/.config/nvim/plugin/packer_compiled.vim
2021-04-23 16:46:45 +02:00

322 lines
9.7 KiB
VimL

" 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 = "/home/leon/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/leon/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/leon/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/leon/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/leon/.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))
if not success then
print('Error running ' .. component .. ' for ' .. name)
error(result)
end
return result
end
time("try_loadstring definition", false)
time("Defining packer_plugins", true)
_G.packer_plugins = {
aniseed = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/aniseed"
},
["any-jump.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/any-jump.vim"
},
detectindent = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/detectindent"
},
["editorconfig-vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/editorconfig-vim"
},
["fennel.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/fennel.vim"
},
["galaxyline.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/galaxyline.nvim"
},
["goyo.vim"] = {
commands = { "Goyo" },
loaded = false,
needs_bufread = false,
path = "/home/leon/.local/share/nvim/site/pack/packer/opt/goyo.vim"
},
gruvbox = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/gruvbox"
},
["haskell-vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/haskell-vim"
},
["lspsaga.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/lspsaga.nvim"
},
["markdown-preview.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/markdown-preview.nvim"
},
nerdcommenter = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nerdcommenter"
},
["nlua.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nlua.nvim"
},
["nvim-bqf"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nvim-bqf"
},
["nvim-bufferline.lua"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua"
},
["nvim-compe"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nvim-compe"
},
["nvim-lspconfig"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
},
["nvim-lsputils"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nvim-lsputils"
},
["nvim.lua"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/nvim.lua"
},
["plenary.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/plenary.nvim"
},
popfix = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/popfix"
},
["popup.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/popup.nvim"
},
["purescript-vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/purescript-vim"
},
["quick-scope"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/quick-scope"
},
["rainbow_parentheses.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/rainbow_parentheses.vim"
},
["rust.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/rust.vim"
},
["sad.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/sad.vim"
},
["startuptime.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/startuptime.vim"
},
tabular = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/tabular"
},
["targets.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/targets.vim"
},
["telescope-media-files.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/telescope-media-files.nvim"
},
["telescope.nvim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/telescope.nvim"
},
["typescript-vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/typescript-vim"
},
["vim-css-color"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-css-color"
},
["vim-exchange"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-exchange"
},
["vim-fugitive"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-fugitive"
},
["vim-highlightedyank"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-highlightedyank"
},
["vim-indent-guides"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-indent-guides"
},
["vim-javascript"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-javascript"
},
["vim-jsonc"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-jsonc"
},
["vim-jsx"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-jsx"
},
["vim-nix"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-nix"
},
["vim-parinfer"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-parinfer"
},
["vim-polyglot"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-polyglot"
},
["vim-raku"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-raku"
},
["vim-repeat"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-repeat"
},
["vim-signify"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-signify"
},
["vim-smoothie"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-smoothie"
},
["vim-sneak"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-sneak"
},
["vim-snippets"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-snippets"
},
["vim-surround"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-surround"
},
["vim-tmux-navigator"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator"
},
["vim-tsx"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-tsx"
},
["vim-visual-multi"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-visual-multi"
},
["vim-which-key"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/vim-which-key"
},
["webapi-vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/webapi-vim"
},
["yats.vim"] = {
loaded = true,
path = "/home/leon/.local/share/nvim/site/pack/packer/start/yats.vim"
}
}
time("Defining packer_plugins", 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 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]
time("Defining lazy-load commands", false)
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