diff options
| author | Ian Griffin <migriffin@disroot.org> | 2022-09-30 20:06:55 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2022-09-30 20:06:55 +0800 |
| commit | 0e1bf5aad478a4030f31acd8bbea874b71e42f43 (patch) | |
| tree | b31312df0273548387a613ff2f4e00bc6828b379 /plugin | |
initial commit
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/packer_compiled.lua | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua new file mode 100644 index 0000000..a15163e --- /dev/null +++ b/plugin/packer_compiled.lua @@ -0,0 +1,272 @@ +-- 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 = 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 + 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/iang/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/iang/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/iang/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/iang/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/iang/.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 = { + ["closetag.vim"] = { + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/home/iang/.local/share/nvim/site/pack/packer/opt/closetag.vim", + url = "https://github.com/alvan/closetag.vim" + }, + ["coq.artifacts"] = { + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/coq.artifacts", + url = "https://github.com/ms-jpq/coq.artifacts" + }, + coq_nvim = { + 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\30autocmd VimEnter * COQnow\bcmd\bvim\0" }, + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/coq_nvim", + url = "https://github.com/ms-jpq/coq_nvim" + }, + delimitMate = { + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/delimitMate", + url = "https://github.com/Raimondi/delimitMate" + }, + ["goyo.vim"] = { + commands = { "Goyo" }, + loaded = false, + needs_bufread = false, + only_cond = false, + path = "/home/iang/.local/share/nvim/site/pack/packer/opt/goyo.vim", + url = "https://github.com/junegunn/goyo.vim" + }, + indentLine = { + after_files = { "/home/iang/.local/share/nvim/site/pack/packer/opt/indentLine/after/plugin/indentLine.vim" }, + loaded = true, + needs_bufread = false, + path = "/home/iang/.local/share/nvim/site/pack/packer/opt/indentLine", + url = "https://github.com/Yggdroot/indentLine" + }, + ["mason-lspconfig.nvim"] = { + config = { "\27LJ\2\nn\0\2\a\0\4\0\f6\2\0\0'\4\1\0B\2\2\0029\3\2\2\18\5\0\0\18\6\1\0B\3\3\0019\3\3\2\18\5\0\0\18\6\1\0B\3\3\1K\0\1\0\22make_lsp_mappings\22make_lsp_commands\15lsp_basics\frequire…\1\1\1\a\0\b\0\0156\1\0\0'\3\1\0B\1\2\0028\1\0\0019\1\2\0016\3\0\0'\5\3\0B\3\2\0029\3\4\0035\5\6\0003\6\5\0=\6\a\5B\3\2\0A\1\0\1K\0\1\0\14on_attach\1\0\0\0\28lsp_ensure_capabilities\bcoq\nsetup\14lspconfig\frequire�\1\1\0\5\0\b\0\0146\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\4\0005\4\3\0=\4\5\3B\1\2\0019\1\6\0004\3\3\0003\4\a\0>\4\1\3B\1\2\1K\0\1\0\0\19setup_handlers\21ensure_installed\1\0\0\1\4\0\0\16sumneko_lua\ngopls\nvimls\nsetup\20mason-lspconfig\frequire\0" }, + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", + url = "https://github.com/williamboman/mason-lspconfig.nvim" + }, + ["mason.nvim"] = { + config = { "\27LJ\2\n3\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\nmason\frequire\0" }, + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/mason.nvim", + url = "https://github.com/williamboman/mason.nvim" + }, + ["nvim-lsp-basics"] = { + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/nvim-lsp-basics", + url = "https://github.com/nanotee/nvim-lsp-basics" + }, + ["nvim-lspconfig"] = { + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" + }, + ["nvim-treesitter"] = { + config = { "\27LJ\2\nÞ\1\0\0\4\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\0025\3\6\0=\3\a\2B\0\2\1K\0\1\0\14highlight\1\0\1\venable\2\21ensure_installed\1\0\1\17sync_install\1\1\14\0\0\tbash\vbibtex\6c\bcpp\bcss\ago\thtml\15javascript\tjson\nlatex\vpython\15typescript\bvim\nsetup\28nvim-treesitter.configs\frequire\0" }, + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + url = "https://github.com/nvim-treesitter/nvim-treesitter" + }, + ["one-nvim"] = { + config = { "\27LJ\2\nz\0\0\3\0\a\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\0016\0\4\0009\0\5\0'\2\6\0B\0\2\1K\0\1\0\25colorscheme one-nvim\bcmd\bvim\1\3\0\0\15background\nlight\bset\rconftool\frequire\0" }, + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/one-nvim", + url = "https://github.com/Th3Whit3Wolf/one-nvim" + }, + ["packer.nvim"] = { + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/packer.nvim", + url = "https://github.com/wbthomason/packer.nvim" + }, + ["trouble.nvim"] = { + config = { "\27LJ\2\nù\1\0\0\5\0\v\0\0176\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\0016\0\0\0'\2\6\0B\0\2\0029\0\a\0'\2\b\0'\3\t\0'\4\n\0B\0\4\1K\0\1\0\23:TroubleToggle<CR>\f<C-S-`>\6n\bmap\rconftool\nsigns\1\0\4\nerror\aE:\thint\aH:\16information\aI:\fwarning\aW:\1\0\4\nicons\1\25use_diagnostic_signs\1\16fold_closed\6>\14fold_open\6v\nsetup\ftrouble\frequire\0" }, + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/trouble.nvim", + url = "https://github.com/folke/trouble.nvim" + }, + ["vim-css-color"] = { + loaded = true, + path = "/home/iang/.local/share/nvim/site/pack/packer/start/vim-css-color", + url = "https://github.com/ap/vim-css-color" + }, + ["vim-go"] = { + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/home/iang/.local/share/nvim/site/pack/packer/opt/vim-go", + url = "https://github.com/fatih/vim-go" + }, + ["vim-visual-multi"] = { + keys = { { "", "<C-Up>" }, { "", "<C-Down>" } }, + loaded = false, + needs_bufread = false, + only_cond = false, + path = "/home/iang/.local/share/nvim/site/pack/packer/opt/vim-visual-multi", + url = "https://github.com/mg979/vim-visual-multi" + }, + vimtex = { + config = { "\27LJ\2\nØ\1\0\0\3\0\n\0\0166\0\0\0'\2\1\0B\0\2\0026\1\2\0009\1\3\0019\2\5\0=\2\4\0016\1\2\0009\1\3\0015\2\a\0=\2\6\0016\1\2\0009\1\3\1'\2\t\0=\2\b\1K\0\1\0\tnvim\29vimtex_compiler_progname\1\0\1\6_\r-xelatex$vimtex_compiler_latexmk_engines\23external_pdfviewer\31vimtex_view_general_viewer\6g\bvim\rdefaults\frequire\0" }, + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/home/iang/.local/share/nvim/site/pack/packer/opt/vimtex", + url = "https://github.com/lervag/vimtex" + } +} + +time([[Defining packer_plugins]], false) +-- Setup for: indentLine +time([[Setup for indentLine]], true) +try_loadstring("\27LJ\2\nY\0\0\2\0\5\0\t6\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\0\0009\0\1\0)\1\0\0=\1\4\0K\0\1\0\26indentLine_setConceal\6|\20indentLine_char\6g\bvim\0", "setup", "indentLine") +time([[Setup for indentLine]], false) +time([[packadd for indentLine]], true) +vim.cmd [[packadd indentLine]] +time([[packadd for indentLine]], false) +-- Config for: nvim-treesitter +time([[Config for nvim-treesitter]], true) +try_loadstring("\27LJ\2\nÞ\1\0\0\4\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\0025\3\6\0=\3\a\2B\0\2\1K\0\1\0\14highlight\1\0\1\venable\2\21ensure_installed\1\0\1\17sync_install\1\1\14\0\0\tbash\vbibtex\6c\bcpp\bcss\ago\thtml\15javascript\tjson\nlatex\vpython\15typescript\bvim\nsetup\28nvim-treesitter.configs\frequire\0", "config", "nvim-treesitter") +time([[Config for nvim-treesitter]], false) +-- Config for: mason.nvim +time([[Config for mason.nvim]], true) +try_loadstring("\27LJ\2\n3\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\nmason\frequire\0", "config", "mason.nvim") +time([[Config for mason.nvim]], false) +-- Config for: one-nvim +time([[Config for one-nvim]], true) +try_loadstring("\27LJ\2\nz\0\0\3\0\a\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\0016\0\4\0009\0\5\0'\2\6\0B\0\2\1K\0\1\0\25colorscheme one-nvim\bcmd\bvim\1\3\0\0\15background\nlight\bset\rconftool\frequire\0", "config", "one-nvim") +time([[Config for one-nvim]], false) +-- Config for: coq_nvim +time([[Config for coq_nvim]], true) +try_loadstring("\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\30autocmd VimEnter * COQnow\bcmd\bvim\0", "config", "coq_nvim") +time([[Config for coq_nvim]], false) +-- Config for: mason-lspconfig.nvim +time([[Config for mason-lspconfig.nvim]], true) +try_loadstring("\27LJ\2\nn\0\2\a\0\4\0\f6\2\0\0'\4\1\0B\2\2\0029\3\2\2\18\5\0\0\18\6\1\0B\3\3\0019\3\3\2\18\5\0\0\18\6\1\0B\3\3\1K\0\1\0\22make_lsp_mappings\22make_lsp_commands\15lsp_basics\frequire…\1\1\1\a\0\b\0\0156\1\0\0'\3\1\0B\1\2\0028\1\0\0019\1\2\0016\3\0\0'\5\3\0B\3\2\0029\3\4\0035\5\6\0003\6\5\0=\6\a\5B\3\2\0A\1\0\1K\0\1\0\14on_attach\1\0\0\0\28lsp_ensure_capabilities\bcoq\nsetup\14lspconfig\frequire�\1\1\0\5\0\b\0\0146\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\4\0005\4\3\0=\4\5\3B\1\2\0019\1\6\0004\3\3\0003\4\a\0>\4\1\3B\1\2\1K\0\1\0\0\19setup_handlers\21ensure_installed\1\0\0\1\4\0\0\16sumneko_lua\ngopls\nvimls\nsetup\20mason-lspconfig\frequire\0", "config", "mason-lspconfig.nvim") +time([[Config for mason-lspconfig.nvim]], false) +-- Config for: trouble.nvim +time([[Config for trouble.nvim]], true) +try_loadstring("\27LJ\2\nù\1\0\0\5\0\v\0\0176\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\0016\0\0\0'\2\6\0B\0\2\0029\0\a\0'\2\b\0'\3\t\0'\4\n\0B\0\4\1K\0\1\0\23:TroubleToggle<CR>\f<C-S-`>\6n\bmap\rconftool\nsigns\1\0\4\nerror\aE:\thint\aH:\16information\aI:\fwarning\aW:\1\0\4\nicons\1\25use_diagnostic_signs\1\16fold_closed\6>\14fold_open\6v\nsetup\ftrouble\frequire\0", "config", "trouble.nvim") +time([[Config for trouble.nvim]], false) + +-- Command lazy-loads +time([[Defining lazy-load commands]], true) +pcall(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>, mods = "<mods>" }, _G.packer_plugins)]]) +time([[Defining lazy-load commands]], false) + +-- Keymap lazy-loads +time([[Defining lazy-load keymaps]], true) +vim.cmd [[noremap <silent> <C-Down> <cmd>lua require("packer.load")({'vim-visual-multi'}, { keys = "<lt>C-Down>", prefix = "" }, _G.packer_plugins)<cr>]] +vim.cmd [[noremap <silent> <C-Up> <cmd>lua require("packer.load")({'vim-visual-multi'}, { keys = "<lt>C-Up>", 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 tex ++once lua require("packer.load")({'vimtex'}, { ft = "tex" }, _G.packer_plugins)]] +vim.cmd [[au FileType go ++once lua require("packer.load")({'vim-go'}, { ft = "go" }, _G.packer_plugins)]] +vim.cmd [[au FileType vue ++once lua require("packer.load")({'closetag.vim'}, { ft = "vue" }, _G.packer_plugins)]] +vim.cmd [[au FileType html ++once lua require("packer.load")({'closetag.vim'}, { ft = "html" }, _G.packer_plugins)]] +time([[Defining lazy-load filetype autocommands]], false) +vim.cmd("augroup END") +vim.cmd [[augroup filetypedetect]] +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vim-go/ftdetect/gofiletype.vim]], true) +vim.cmd [[source /home/iang/.local/share/nvim/site/pack/packer/opt/vim-go/ftdetect/gofiletype.vim]] +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vim-go/ftdetect/gofiletype.vim]], false) +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], true) +vim.cmd [[source /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]] +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], false) +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], true) +vim.cmd [[source /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]] +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], false) +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], true) +vim.cmd [[source /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]] +time([[Sourcing ftdetect script at: /home/iang/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], 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() 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 |
