From 4385c252eb461a0ec9dbf9569a8f9ef7f0664289 Mon Sep 17 00:00:00 2001 From: MichaΓ«l Ball Date: Tue, 16 Jul 2024 16:12:12 +0100 Subject: Initial commit --- neovim/.config/nvim/plugin/packer_compiled.lua | 513 +++++++++++++++++++++++++ 1 file changed, 513 insertions(+) create mode 100644 neovim/.config/nvim/plugin/packer_compiled.lua (limited to 'neovim/.config/nvim/plugin') diff --git a/neovim/.config/nvim/plugin/packer_compiled.lua b/neovim/.config/nvim/plugin/packer_compiled.lua new file mode 100644 index 0000000..0f5ddce --- /dev/null +++ b/neovim/.config/nvim/plugin/packer_compiled.lua @@ -0,0 +1,513 @@ +-- 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 = "/Users/michael/.cache/nvim/packer_hererocks/2.1.1713484068/share/lua/5.1/?.lua;/Users/michael/.cache/nvim/packer_hererocks/2.1.1713484068/share/lua/5.1/?/init.lua;/Users/michael/.cache/nvim/packer_hererocks/2.1.1713484068/lib/luarocks/rocks-5.1/?.lua;/Users/michael/.cache/nvim/packer_hererocks/2.1.1713484068/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/Users/michael/.cache/nvim/packer_hererocks/2.1.1713484068/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 = { + ["Vim-Jinja2-Syntax"] = { + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/Vim-Jinja2-Syntax", + url = "https://github.com/Glench/Vim-Jinja2-Syntax" + }, + ["cmp-buffer"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-buffer", + url = "https://github.com/hrsh7th/cmp-buffer" + }, + ["cmp-cmdline"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-cmdline", + url = "https://github.com/hrsh7th/cmp-cmdline" + }, + ["cmp-nvim-lsp"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + url = "https://github.com/hrsh7th/cmp-nvim-lsp" + }, + ["cmp-nvim-lsp-document-symbol"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-document-symbol", + url = "https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol" + }, + ["cmp-nvim-lsp-signature-help"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-signature-help", + url = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help" + }, + ["cmp-path"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-path", + url = "https://github.com/hrsh7th/cmp-path" + }, + ["cmp-tmux"] = { + after_files = { "/Users/michael/.local/share/nvim/site/pack/packer/opt/cmp-tmux/after/plugin/cmp_tmux.vim" }, + cond = { "\27LJ\2\nQ\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\19g:GtkGuiLoaded\vexists\afn\bvim\0\0" }, + loaded = false, + needs_bufread = false, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/cmp-tmux", + url = "https://github.com/andersevenrud/cmp-tmux" + }, + ["cmp-vsnip"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/cmp-vsnip", + url = "https://github.com/hrsh7th/cmp-vsnip" + }, + ["csound-vim"] = { + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/csound-vim", + url = "https://github.com/luisjure/csound-vim" + }, + ["diffview.nvim"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/diffview.nvim", + url = "https://github.com/sindrets/diffview.nvim" + }, + ["galaxyline.nvim"] = { + config = { "require('config.galaxyline')" }, + load_after = {}, + loaded = true, + needs_bufread = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/galaxyline.nvim", + url = "https://github.com/nvimdev/galaxyline.nvim" + }, + ["gitsigns.nvim"] = { + config = { "require('config.gitsigns')" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", + url = "https://github.com/lewis6991/gitsigns.nvim" + }, + ["goyo.vim"] = { + cond = { "\27LJ\2\nQ\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\19g:GtkGuiLoaded\vexists\afn\bvim\2\0" }, + config = { "require('config.goyo')" }, + loaded = false, + needs_bufread = false, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/goyo.vim", + url = "https://github.com/junegunn/goyo.vim" + }, + ["indent-blankline.nvim"] = { + config = { "require('config.indent_blankline')" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim", + url = "https://github.com/lukas-reineke/indent-blankline.nvim" + }, + ["limelight.vim"] = { + cond = { "\27LJ\2\nQ\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\19g:GtkGuiLoaded\vexists\afn\bvim\2\0" }, + loaded = false, + needs_bufread = false, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/limelight.vim", + url = "https://github.com/junegunn/limelight.vim" + }, + ["lspsaga.nvim"] = { + config = { "require('config.lspsaga')" }, + load_after = {}, + loaded = true, + needs_bufread = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/lspsaga.nvim", + url = "https://github.com/nvimdev/lspsaga.nvim" + }, + ["neo-tree.nvim"] = { + loaded = true, + needs_bufread = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/neo-tree.nvim", + url = "https://github.com/nvim-neo-tree/neo-tree.nvim" + }, + neogit = { + commands = { "Neogit" }, + config = { "require('config.neogit')" }, + loaded = false, + needs_bufread = false, + only_cond = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/neogit", + url = "https://github.com/NeogitOrg/neogit" + }, + nerdcommenter = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nerdcommenter", + url = "https://github.com/preservim/nerdcommenter" + }, + ["nui.nvim"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nui.nvim", + url = "https://github.com/MunifTanjim/nui.nvim" + }, + ["nvim-cmp"] = { + config = { "require('config.nvim_cmp')" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-cmp", + url = "https://github.com/hrsh7th/nvim-cmp" + }, + ["nvim-dap"] = { + config = { "require('config.nvim_dap')" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-dap", + url = "https://github.com/mfussenegger/nvim-dap" + }, + ["nvim-dap-python"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-dap-python", + url = "https://github.com/mfussenegger/nvim-dap-python" + }, + ["nvim-dap-ui"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", + url = "https://github.com/rcarriga/nvim-dap-ui" + }, + ["nvim-lspconfig"] = { + after = { "lspsaga.nvim" }, + config = { "require('config.nvim_lspconfig')" }, + loaded = true, + only_config = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" + }, + ["nvim-nio"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-nio", + url = "https://github.com/nvim-neotest/nvim-nio" + }, + ["nvim-treesitter"] = { + config = { "require('config.nvim_treesitter')" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + url = "https://github.com/nvim-treesitter/nvim-treesitter" + }, + ["nvim-web-devicons"] = { + loaded = false, + needs_bufread = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons", + url = "https://github.com/nvim-tree/nvim-web-devicons" + }, + ["packer.nvim"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/packer.nvim", + url = "https://github.com/wbthomason/packer.nvim" + }, + ["plenary.nvim"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/plenary.nvim", + url = "https://github.com/nvim-lua/plenary.nvim" + }, + scvim = { + config = { "\27LJ\2\n)\0\0\2\0\3\0\0056\0\0\0009\0\1\0)\1\1\0=\1\2\0K\0\1\0\fscFlash\6g\bvim\0" }, + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/scvim", + url = "https://github.com/supercollider/scvim" + }, + ["tabby.nvim"] = { + cond = { "\27LJ\2\nK\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\16gui_running\bhas\afn\bvim\0\0" }, + config = { "require('config.tabby')" }, + loaded = false, + needs_bufread = false, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/tabby.nvim", + url = "https://github.com/nanozuki/tabby.nvim" + }, + tabular = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/tabular", + url = "https://github.com/godlygeek/tabular" + }, + ["telescope.nvim"] = { + config = { "\27LJ\2\n…\2\0\0\6\0\r\0\0256\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\a\0'\4\b\0005\5\t\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\n\0'\4\v\0005\5\f\0B\0\5\1K\0\1\0\1\0\1\fnoremap\2!Telescope live_grep\t\1\0\1\fnoremap\2\"Telescope find_files\t\1\0\1\fnoremap\2\31Telescope buffers\t\6n\bset\vkeymap\bvim\0" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/telescope.nvim", + url = "https://github.com/nvim-telescope/telescope.nvim" + }, + undotree = { + commands = { "UndotreeToggle" }, + loaded = false, + needs_bufread = false, + only_cond = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/undotree", + url = "https://github.com/mbbill/undotree" + }, + ["venv-selector.nvim"] = { + config = { "\27LJ\2\n\1\0\0\6\0\n\0\0146\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0009\0\5\0'\2\6\0'\3\a\0'\4\b\0005\5\t\0B\0\5\1K\0\1\0\1\0\1\fnoremap\2\24VenvSelect\a,v\6n\bset\vkeymap\bvim\nsetup\18venv-selector\frequire\0" }, + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/venv-selector.nvim", + url = "https://github.com/linux-cultist/venv-selector.nvim" + }, + ["vim-colors-xcode"] = { + after = { "galaxyline.nvim" }, + config = { "vim.cmd[[colorscheme xcode]]" }, + loaded = true, + only_config = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/vim-colors-xcode", + url = "https://github.com/arzg/vim-colors-xcode" + }, + ["vim-devicons"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/vim-devicons", + url = "https://github.com/ryanoasis/vim-devicons" + }, + ["vim-markdown"] = { + config = { '\27LJ\2\n?\0\0\2\0\3\0\0056\0\0\0009\0\1\0)\1\1\0=\1\2\0K\0\1\0"vim_markdown_folding_disabled\6g\bvim\0' }, + loaded = false, + needs_bufread = true, + only_cond = false, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/vim-markdown", + url = "https://github.com/plasticboy/vim-markdown" + }, + ["vim-plug"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/vim-plug", + url = "https://github.com/junegunn/vim-plug" + }, + ["vim-prettier"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/vim-prettier", + url = "https://github.com/prettier/vim-prettier" + }, + ["vim-tmux"] = { + cond = { "\27LJ\2\nQ\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\19g:GtkGuiLoaded\vexists\afn\bvim\0\0" }, + loaded = false, + needs_bufread = true, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/vim-tmux", + url = "https://github.com/tmux-plugins/vim-tmux" + }, + ["vim-tmux-focus-events"] = { + cond = { "\27LJ\2\nQ\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\19g:GtkGuiLoaded\vexists\afn\bvim\0\0" }, + loaded = false, + needs_bufread = false, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/vim-tmux-focus-events", + url = "https://github.com/tmux-plugins/vim-tmux-focus-events" + }, + ["vim-vsnip"] = { + loaded = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/start/vim-vsnip", + url = "https://github.com/hrsh7th/vim-vsnip" + }, + vimux = { + cond = { "\27LJ\2\nQ\0\0\3\0\4\1\v6\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\2\b\0\0\0X\0\2€+\0\1\0X\1\1€+\0\2\0L\0\2\0\19g:GtkGuiLoaded\vexists\afn\bvim\0\0" }, + config = { "require('config.vimux')" }, + loaded = false, + needs_bufread = false, + only_cond = true, + path = "/Users/michael/.local/share/nvim/site/pack/packer/opt/vimux", + url = "https://github.com/benmills/vimux" + } +} + +time([[Defining packer_plugins]], false) +-- Setup for: undotree +time([[Setup for undotree]], true) +try_loadstring("\27LJ\2\ne\0\0\6\0\a\0\t6\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\1K\0\1\0\1\0\1\fnoremap\2\28UndotreeToggle\t\6n\bset\vkeymap\bvim\0", "setup", "undotree") +time([[Setup for undotree]], false) +-- Setup for: neo-tree.nvim +time([[Setup for neo-tree.nvim]], true) +try_loadstring("\27LJ\2\nd\0\0\6\0\a\0\t6\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\1K\0\1\0\1\0\1\fnoremap\2\28Neotree toggle\t\5\bset\vkeymap\bvim\0", "setup", "neo-tree.nvim") +time([[Setup for neo-tree.nvim]], false) +time([[packadd for neo-tree.nvim]], true) +vim.cmd [[packadd neo-tree.nvim]] +time([[packadd for neo-tree.nvim]], false) +-- Setup for: neogit +time([[Setup for neogit]], true) +try_loadstring("\27LJ\2\nU\0\0\6\0\6\0\t6\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0004\5\0\0B\0\5\1K\0\1\0\20Neogit\14g\5\bset\vkeymap\bvim\0", "setup", "neogit") +time([[Setup for neogit]], false) +-- Config for: nvim-cmp +time([[Config for nvim-cmp]], true) +require('config.nvim_cmp') +time([[Config for nvim-cmp]], false) +-- Config for: venv-selector.nvim +time([[Config for venv-selector.nvim]], true) +try_loadstring("\27LJ\2\n\1\0\0\6\0\n\0\0146\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0009\0\5\0'\2\6\0'\3\a\0'\4\b\0005\5\t\0B\0\5\1K\0\1\0\1\0\1\fnoremap\2\24VenvSelect\a,v\6n\bset\vkeymap\bvim\nsetup\18venv-selector\frequire\0", "config", "venv-selector.nvim") +time([[Config for venv-selector.nvim]], false) +-- Config for: gitsigns.nvim +time([[Config for gitsigns.nvim]], true) +require('config.gitsigns') +time([[Config for gitsigns.nvim]], false) +-- Config for: nvim-dap +time([[Config for nvim-dap]], true) +require('config.nvim_dap') +time([[Config for nvim-dap]], false) +-- Config for: indent-blankline.nvim +time([[Config for indent-blankline.nvim]], true) +require('config.indent_blankline') +time([[Config for indent-blankline.nvim]], false) +-- Config for: telescope.nvim +time([[Config for telescope.nvim]], true) +try_loadstring("\27LJ\2\n…\2\0\0\6\0\r\0\0256\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\a\0'\4\b\0005\5\t\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\n\0'\4\v\0005\5\f\0B\0\5\1K\0\1\0\1\0\1\fnoremap\2!Telescope live_grep\t\1\0\1\fnoremap\2\"Telescope find_files\t\1\0\1\fnoremap\2\31Telescope buffers\t\6n\bset\vkeymap\bvim\0", "config", "telescope.nvim") +time([[Config for telescope.nvim]], false) +-- Config for: nvim-treesitter +time([[Config for nvim-treesitter]], true) +require('config.nvim_treesitter') +time([[Config for nvim-treesitter]], false) +-- Config for: nvim-lspconfig +time([[Config for nvim-lspconfig]], true) +require('config.nvim_lspconfig') +time([[Config for nvim-lspconfig]], false) +-- Config for: vim-colors-xcode +time([[Config for vim-colors-xcode]], true) +vim.cmd[[colorscheme xcode]] +time([[Config for vim-colors-xcode]], false) +-- Conditional loads +time([[Conditional loading of cmp-tmux]], true) + require("packer.load")({"cmp-tmux"}, {}, _G.packer_plugins) +time([[Conditional loading of cmp-tmux]], false) +time([[Conditional loading of vim-tmux-focus-events]], true) + require("packer.load")({"vim-tmux-focus-events"}, {}, _G.packer_plugins) +time([[Conditional loading of vim-tmux-focus-events]], false) +time([[Conditional loading of vim-tmux]], true) + require("packer.load")({"vim-tmux"}, {}, _G.packer_plugins) +time([[Conditional loading of vim-tmux]], false) +time([[Conditional loading of vimux]], true) + require("packer.load")({"vimux"}, {}, _G.packer_plugins) +time([[Conditional loading of vimux]], false) +time([[Conditional loading of tabby.nvim]], true) + require("packer.load")({"tabby.nvim"}, {}, _G.packer_plugins) +time([[Conditional loading of tabby.nvim]], false) +time([[Conditional loading of goyo.vim]], true) + require("packer.load")({"goyo.vim"}, {}, _G.packer_plugins) +time([[Conditional loading of goyo.vim]], false) +time([[Conditional loading of limelight.vim]], true) + require("packer.load")({"limelight.vim"}, {}, _G.packer_plugins) +time([[Conditional loading of limelight.vim]], false) +-- Load plugins in order defined by `after` +time([[Sequenced loading]], true) +vim.cmd [[ packadd galaxyline.nvim ]] + +-- Config for: galaxyline.nvim +require('config.galaxyline') + +vim.cmd [[ packadd lspsaga.nvim ]] + +-- Config for: lspsaga.nvim +require('config.lspsaga') + +time([[Sequenced loading]], false) + +-- Command lazy-loads +time([[Defining lazy-load commands]], true) +pcall(vim.api.nvim_create_user_command, 'UndotreeToggle', function(cmdargs) + require('packer.load')({'undotree'}, { cmd = 'UndotreeToggle', 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')({'undotree'}, {}, _G.packer_plugins) + return vim.fn.getcompletion('UndotreeToggle ', 'cmdline') + end}) +pcall(vim.api.nvim_create_user_command, 'Neogit', function(cmdargs) + require('packer.load')({'neogit'}, { cmd = 'Neogit', 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')({'neogit'}, {}, _G.packer_plugins) + return vim.fn.getcompletion('Neogit ', 'cmdline') + end}) +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 supercollider ++once lua require("packer.load")({'scvim'}, { ft = "supercollider" }, _G.packer_plugins)]] +vim.cmd [[au FileType markdown ++once lua require("packer.load")({'vim-markdown'}, { ft = "markdown" }, _G.packer_plugins)]] +vim.cmd [[au FileType jinja ++once lua require("packer.load")({'Vim-Jinja2-Syntax'}, { ft = "jinja" }, _G.packer_plugins)]] +vim.cmd [[au FileType csound ++once lua require("packer.load")({'csound-vim'}, { ft = "csound" }, _G.packer_plugins)]] +time([[Defining lazy-load filetype autocommands]], false) +vim.cmd("augroup END") +vim.cmd [[augroup filetypedetect]] +time([[Sourcing ftdetect script at: /Users/michael/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]], true) +vim.cmd [[source /Users/michael/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]] +time([[Sourcing ftdetect script at: /Users/michael/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]], false) +time([[Sourcing ftdetect script at: /Users/michael/.local/share/nvim/site/pack/packer/opt/Vim-Jinja2-Syntax/ftdetect/jinja.vim]], true) +vim.cmd [[source /Users/michael/.local/share/nvim/site/pack/packer/opt/Vim-Jinja2-Syntax/ftdetect/jinja.vim]] +time([[Sourcing ftdetect script at: /Users/michael/.local/share/nvim/site/pack/packer/opt/Vim-Jinja2-Syntax/ftdetect/jinja.vim]], false) +time([[Sourcing ftdetect script at: /Users/michael/.local/share/nvim/site/pack/packer/opt/csound-vim/ftdetect/csound.vim]], true) +vim.cmd [[source /Users/michael/.local/share/nvim/site/pack/packer/opt/csound-vim/ftdetect/csound.vim]] +time([[Sourcing ftdetect script at: /Users/michael/.local/share/nvim/site/pack/packer/opt/csound-vim/ftdetect/csound.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 -- cgit v1.2.3