From 033db8b24f8e3a0fb92ab5546fb7b17527bc7897 Mon Sep 17 00:00:00 2001 From: Markus Dieckmann Date: Wed, 1 Feb 2023 21:48:50 +0100 Subject: [PATCH] packer --- nvim/plugin/packer_compiled.lua | 147 ++++++++++++++++++++++++++++---- 1 file changed, 131 insertions(+), 16 deletions(-) diff --git a/nvim/plugin/packer_compiled.lua b/nvim/plugin/packer_compiled.lua index 17b36ed..54bf714 100644 --- a/nvim/plugin/packer_compiled.lua +++ b/nvim/plugin/packer_compiled.lua @@ -84,10 +84,10 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/LuaSnip", url = "https://github.com/L3MON4D3/LuaSnip" }, - ["auto-pairs"] = { + ["ayu-vim"] = { loaded = true, - path = "/home/mardie/.local/share/nvim/site/pack/packer/start/auto-pairs", - url = "https://github.com/jiangmiao/auto-pairs" + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/ayu-vim", + url = "https://github.com/ayu-theme/ayu-vim" }, ["cmp-buffer"] = { loaded = true, @@ -104,16 +104,51 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", url = "https://github.com/hrsh7th/cmp-nvim-lsp" }, + ["cmp-nvim-lsp-signature-help"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-signature-help", + url = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help" + }, + ["cmp-nvim-lua"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", + url = "https://github.com/hrsh7th/cmp-nvim-lua" + }, ["cmp-path"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, + ["cmp-vsnip"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/cmp-vsnip", + url = "https://github.com/hrsh7th/cmp-vsnip" + }, cmp_luasnip = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/cmp_luasnip", url = "https://github.com/saadparwaiz1/cmp_luasnip" }, + ["fidget.nvim"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/fidget.nvim", + url = "https://github.com/j-hui/fidget.nvim" + }, + ["friendly-snippets"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/friendly-snippets", + url = "https://github.com/rafamadriz/friendly-snippets" + }, + ["fugitive-gitlab.vim"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/fugitive-gitlab.vim", + url = "https://github.com/shumphrey/fugitive-gitlab.vim" + }, + gruvbox = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/gruvbox", + url = "https://github.com/morhetz/gruvbox" + }, ["lsp-status.nvim"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/lsp-status.nvim", @@ -164,6 +199,11 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/neotest-vim-test", url = "https://github.com/nvim-neotest/neotest-vim-test" }, + ["nui.nvim"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nui.nvim", + url = "https://github.com/MunifTanjim/nui.nvim" + }, ["null-ls.nvim"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/null-ls.nvim", @@ -179,6 +219,26 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-dap", url = "https://github.com/mfussenegger/nvim-dap" }, + ["nvim-dap-python"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-dap-python", + url = "https://github.com/mfussenegger/nvim-dap-python" + }, + ["nvim-dap-ui"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", + url = "https://github.com/rcarriga/nvim-dap-ui" + }, + ["nvim-dap-virtual-text"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text", + url = "https://github.com/theHamsta/nvim-dap-virtual-text" + }, + ["nvim-dap-vscode-js"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-dap-vscode-js", + url = "https://github.com/mxsdev/nvim-dap-vscode-js" + }, ["nvim-lightbulb"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-lightbulb", @@ -210,6 +270,13 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", url = "https://github.com/kyazdani42/nvim-web-devicons" }, + ["one-small-step-for-vimkind"] = { + loaded = false, + needs_bufread = false, + only_cond = false, + path = "/home/mardie/.local/share/nvim/site/pack/packer/opt/one-small-step-for-vimkind", + url = "https://github.com/jbyuki/one-small-step-for-vimkind" + }, ["packer.nvim"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/packer.nvim", @@ -230,6 +297,16 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/rust-tools.nvim", url = "https://github.com/simrat39/rust-tools.nvim" }, + ["symbols-outline.nvim"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim", + url = "https://github.com/simrat39/symbols-outline.nvim" + }, + ["telescope-dap.nvim"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", + url = "https://github.com/nvim-telescope/telescope-dap.nvim" + }, ["telescope-lsp-handlers.nvim"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/telescope-lsp-handlers.nvim", @@ -240,17 +317,17 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, + ["todotxt.nvim"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/todotxt.nvim", + url = "https://github.com/ThyW/todotxt.nvim" + }, ["toggleterm.nvim"] = { config = { "\27LJ\2\n8\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\15toggleterm\frequire\0" }, loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/toggleterm.nvim", url = "https://github.com/akinsho/toggleterm.nvim" }, - ["tokyonight.nvim"] = { - loaded = true, - path = "/home/mardie/.local/share/nvim/site/pack/packer/start/tokyonight.nvim", - url = "https://github.com/folke/tokyonight.nvim" - }, ["trouble.nvim"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/trouble.nvim", @@ -261,6 +338,11 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/vim-airline", url = "https://github.com/bling/vim-airline" }, + ["vim-doge"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/vim-doge", + url = "https://github.com/kkoomen/vim-doge" + }, ["vim-easymotion"] = { loaded = true, path = "/home/mardie/.local/share/nvim/site/pack/packer/start/vim-easymotion", @@ -286,6 +368,11 @@ _G.packer_plugins = { path = "/home/mardie/.local/share/nvim/site/pack/packer/start/vim-sandwich", url = "https://github.com/machakann/vim-sandwich" }, + ["vim-vsnip"] = { + loaded = true, + path = "/home/mardie/.local/share/nvim/site/pack/packer/start/vim-vsnip", + url = "https://github.com/hrsh7th/vim-vsnip" + }, ["which-key.nvim"] = { config = { "\27LJ\2\n;\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\14which-key\frequire\0" }, loaded = true, @@ -295,18 +382,46 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: nvim-test -time([[Config for nvim-test]], true) -try_loadstring("\27LJ\2\n7\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\14nvim-test\frequire\0", "config", "nvim-test") -time([[Config for nvim-test]], false) --- Config for: which-key.nvim -time([[Config for which-key.nvim]], true) -try_loadstring("\27LJ\2\n;\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\14which-key\frequire\0", "config", "which-key.nvim") -time([[Config for which-key.nvim]], false) +local module_lazy_loads = { + ["^osv"] = "one-small-step-for-vimkind" +} +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 + -- Config for: toggleterm.nvim time([[Config for toggleterm.nvim]], true) try_loadstring("\27LJ\2\n8\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\15toggleterm\frequire\0", "config", "toggleterm.nvim") time([[Config for toggleterm.nvim]], false) +-- Config for: which-key.nvim +time([[Config for which-key.nvim]], true) +try_loadstring("\27LJ\2\n;\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\14which-key\frequire\0", "config", "which-key.nvim") +time([[Config for which-key.nvim]], false) +-- Config for: nvim-test +time([[Config for nvim-test]], true) +try_loadstring("\27LJ\2\n7\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\14nvim-test\frequire\0", "config", "nvim-test") +time([[Config for nvim-test]], false) _G._packer.inside_compile = false if _G._packer.needs_bufread == true then