From 7fc2db313b8941bfce044075fbe49f9e74635d40 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 9 Oct 2022 22:41:25 +0200 Subject: [PATCH] Removed files --- .gitignore | 2 + plugin/packer_compiled.lua | 680 ------------------------- sessions/%home%kjuulh%.config%nvim.vim | 55 -- 3 files changed, 2 insertions(+), 735 deletions(-) create mode 100644 .gitignore delete mode 100644 plugin/packer_compiled.lua delete mode 100644 sessions/%home%kjuulh%.config%nvim.vim diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1dd9dc2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +plugin/ +sessions/ diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua deleted file mode 100644 index d8d67fa..0000000 --- a/plugin/packer_compiled.lua +++ /dev/null @@ -1,680 +0,0 @@ --- 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/kjuulh/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/kjuulh/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/kjuulh/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/kjuulh/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/kjuulh/.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 = { - LuaSnip = { - after = { "friendly-snippets" }, - config = { 'require("plugins.luasnip").config()' }, - loaded = false, - needs_bufread = true, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/LuaSnip", - url = "https://github.com/L3MON4D3/LuaSnip" - }, - ["animation.nvim"] = { - load_after = { - ["windows.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/animation.nvim", - url = "https://github.com/anuvyklack/animation.nvim" - }, - ["cmp-buffer"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after/plugin/cmp_buffer.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-buffer", - url = "https://github.com/hrsh7th/cmp-buffer" - }, - ["cmp-cmdline"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-cmdline/after/plugin/cmp_cmdline.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-cmdline", - url = "https://github.com/hrsh7th/cmp-cmdline" - }, - ["cmp-cmdline-history"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-cmdline-history/after/plugin/cmp_cmdline_history.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-cmdline-history", - url = "https://github.com/dmitmel/cmp-cmdline-history" - }, - ["cmp-emoji"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-emoji/after/plugin/cmp_emoji.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-emoji", - url = "https://github.com/hrsh7th/cmp-emoji" - }, - ["cmp-nvim-lsp"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp", - url = "https://github.com/hrsh7th/cmp-nvim-lsp" - }, - ["cmp-nvim-lsp-signature-help"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp-signature-help/after/plugin/cmp_nvim_lsp_signature_help.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp-signature-help", - url = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help" - }, - ["cmp-path"] = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-path/after/plugin/cmp_path.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp-path", - url = "https://github.com/hrsh7th/cmp-path" - }, - cmp_luasnip = { - after_files = { "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp_luasnip/after/plugin/cmp_luasnip.lua" }, - load_after = { - ["nvim-cmp"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/cmp_luasnip", - url = "https://github.com/saadparwaiz1/cmp_luasnip" - }, - ["dashboard-nvim"] = { - config = { 'require("plugins.dashboard").config()' }, - loaded = true, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/start/dashboard-nvim", - url = "https://github.com/glepnir/dashboard-nvim" - }, - ["dressing.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/dressing.nvim", - url = "https://github.com/stevearc/dressing.nvim" - }, - ["fidget.nvim"] = { - config = { "\27LJ\2\n¼\1\0\0\4\0\v\0\0156\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\0016\0\6\0009\0\a\0009\0\b\0'\2\t\0005\3\n\0B\0\3\1K\0\1\0\1\0\1\fcommand\24silent! FidgetClose\16VimLeavePre\24nvim_create_autocmd\bapi\bvim\vwindow\1\0\0\1\0\1\rrelative\veditor\nsetup\vfidget\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/fidget.nvim", - url = "https://github.com/j-hui/fidget.nvim" - }, - ["friendly-snippets"] = { - config = { "\27LJ\2\nM\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\14lazy_load luasnip.loaders.from_vscode\frequire\0" }, - load_after = { - LuaSnip = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/friendly-snippets", - url = "https://github.com/rafamadriz/friendly-snippets" - }, - ["hlargs.nvim"] = { - config = { "\27LJ\2\nv\0\0\6\0\a\0\0146\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\5\0006\3\0\0'\5\3\0B\3\2\0029\3\2\3B\3\1\0029\3\4\3=\3\6\2B\0\2\1K\0\1\0\ncolor\1\0\0\vyellow\22tokyonight.colors\nsetup\vhlargs\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/hlargs.nvim", - url = "https://github.com/m-demare/hlargs.nvim" - }, - ["indent-blankline.nvim"] = { - config = { 'require("plugins.indent-blankline").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/indent-blankline.nvim", - url = "https://github.com/lukas-reineke/indent-blankline.nvim" - }, - ["lua-dev.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/lua-dev.nvim", - url = "https://github.com/folke/lua-dev.nvim" - }, - ["lualine.nvim"] = { - config = { 'require("plugins.lualine").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/lualine.nvim", - url = "https://github.com/nvim-lualine/lualine.nvim" - }, - ["mason-lspconfig.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/mason-lspconfig.nvim", - url = "https://github.com/williamboman/mason-lspconfig.nvim" - }, - ["mason.nvim"] = { - config = { 'require("plugins.mason").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/mason.nvim", - url = "https://github.com/williamboman/mason.nvim" - }, - middleclass = { - load_after = { - ["windows.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/middleclass", - url = "https://github.com/anuvyklack/middleclass" - }, - ["neo-tree.nvim"] = { - commands = { "Neotree" }, - config = { 'require("plugins.neo-tree").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/neo-tree.nvim", - url = "https://github.com/nvim-neo-tree/neo-tree.nvim" - }, - neogen = { - config = { "\27LJ\2\nR\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\19snippet_engine\fluasnip\nsetup\vneogen\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/neogen", - url = "https://github.com/danymat/neogen" - }, - ["neoscroll.nvim"] = { - config = { 'require("plugins.neoscroll").config()' }, - keys = { { "", "" }, { "", "" }, { "", "gg" }, { "", "G" } }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/neoscroll.nvim", - url = "https://github.com/karb94/neoscroll.nvim" - }, - ["noice.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\nnoice\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/noice.nvim", - url = "https://github.com/folke/noice.nvim" - }, - ["nui.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nui.nvim", - url = "https://github.com/MunifTanjim/nui.nvim" - }, - ["null-ls.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/null-ls.nvim", - url = "https://github.com/jose-elias-alvarez/null-ls.nvim" - }, - ["nvim-autopairs"] = { - config = { 'require("plugins.autopairs").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-autopairs", - url = "https://github.com/windwp/nvim-autopairs" - }, - ["nvim-bufferline.lua"] = { - config = { 'require("plugins.bufferline").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-bufferline.lua", - url = "https://github.com/akinsho/nvim-bufferline.lua" - }, - ["nvim-cmp"] = { - after = { "cmp_luasnip", "cmp-buffer", "cmp-path", "cmp-cmdline-history", "cmp-cmdline", "cmp-emoji", "cmp-nvim-lsp", "cmp-nvim-lsp-signature-help" }, - config = { 'require("plugins.cmp").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-cmp", - url = "https://github.com/hrsh7th/nvim-cmp" - }, - ["nvim-colorizer.lua"] = { - config = { 'require("plugins.colorizer").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-colorizer.lua", - url = "https://github.com/NvChad/nvim-colorizer.lua" - }, - ["nvim-lspconfig"] = { - config = { 'require("plugins.lsp").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig", - url = "https://github.com/neovim/nvim-lspconfig" - }, - ["nvim-navic"] = { - config = { "\27LJ\2\nˆ\1\0\0\3\0\a\0\v6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\3\0'\2\4\0B\0\2\0029\0\5\0005\2\6\0B\0\2\1K\0\1\0\1\0\3\14separator\6 \16depth_limit\3\5\14highlight\2\nsetup\15nvim-navic\frequire\18navic_silence\6g\bvim\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-navic", - url = "https://github.com/SmiteshP/nvim-navic" - }, - ["nvim-neoclip.lua"] = { - after = { "sqlite.lua" }, - config = { "\27LJ\2\nh\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\2\30enable_persistent_history\2\20continuous_sync\2\nsetup\fneoclip\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-neoclip.lua", - url = "https://github.com/AckslD/nvim-neoclip.lua" - }, - ["nvim-notify"] = { - config = { "\27LJ\2\nƒ\1\0\0\4\0\t\0\0176\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\a\0006\3\3\0009\3\4\0039\3\5\0039\3\6\3=\3\b\2B\0\2\0016\0\3\0006\1\0\0'\3\1\0B\1\2\2=\1\1\0K\0\1\0\nlevel\1\0\1\bfps\3\20\tINFO\vlevels\blog\bvim\nsetup\vnotify\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-notify", - url = "https://github.com/rcarriga/nvim-notify" - }, - ["nvim-treesitter"] = { - after = { "nvim-treesitter-textobjects", "nvim-treesitter-textsubjects", "nvim-treesitter-refactor" }, - config = { 'require("plugins.treesitter").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-treesitter", - url = "https://github.com/nvim-treesitter/nvim-treesitter" - }, - ["nvim-treesitter-refactor"] = { - load_after = { - ["nvim-treesitter"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-refactor", - url = "https://github.com/nvim-treesitter/nvim-treesitter-refactor" - }, - ["nvim-treesitter-textobjects"] = { - load_after = { - ["nvim-treesitter"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textobjects", - url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects" - }, - ["nvim-treesitter-textsubjects"] = { - load_after = { - ["nvim-treesitter"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textsubjects", - url = "https://github.com/RRethy/nvim-treesitter-textsubjects" - }, - ["nvim-web-devicons"] = { - config = { "\27LJ\2\nO\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\fdefault\2\nsetup\22nvim-web-devicons\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons", - url = "https://github.com/kyazdani42/nvim-web-devicons" - }, - ["packer.nvim"] = { - loaded = false, - needs_bufread = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/packer.nvim", - url = "https://github.com/wbthomason/packer.nvim" - }, - ["persistence.nvim"] = { - config = { "\27LJ\2\n9\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\16persistence\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/persistence.nvim", - url = "https://github.com/folke/persistence.nvim" - }, - playground = { - commands = { "TSHighlightCapturesUnderCursor", "TSPlaygroundToggle" }, - loaded = false, - needs_bufread = true, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/playground", - url = "https://github.com/nvim-treesitter/playground" - }, - ["plenary.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/plenary.nvim", - url = "https://github.com/nvim-lua/plenary.nvim" - }, - ["sqlite.lua"] = { - load_after = { - ["nvim-neoclip.lua"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/sqlite.lua", - url = "https://github.com/kkharji/sqlite.lua" - }, - ["telescope-file-browser.nvim"] = { - load_after = { - ["telescope.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/telescope-file-browser.nvim", - url = "https://github.com/nvim-telescope/telescope-file-browser.nvim" - }, - ["telescope-fzf-native.nvim"] = { - load_after = { - ["telescope.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/telescope-fzf-native.nvim", - url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim" - }, - ["telescope-project.nvim"] = { - load_after = { - ["telescope.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/telescope-project.nvim", - url = "https://github.com/nvim-telescope/telescope-project.nvim" - }, - ["telescope-symbols.nvim"] = { - load_after = { - ["telescope.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/telescope-symbols.nvim", - url = "https://github.com/nvim-telescope/telescope-symbols.nvim" - }, - ["telescope-z.nvim"] = { - load_after = { - ["telescope.nvim"] = true - }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/telescope-z.nvim", - url = "https://github.com/nvim-telescope/telescope-z.nvim" - }, - ["telescope.nvim"] = { - after = { "telescope-z.nvim", "telescope-file-browser.nvim", "telescope-fzf-native.nvim", "telescope-symbols.nvim", "telescope-project.nvim" }, - commands = { "Telescope" }, - config = { 'require("plugins.telescope").config()' }, - loaded = false, - needs_bufread = true, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/telescope.nvim", - url = "https://github.com/nvim-telescope/telescope.nvim" - }, - ["tokyonight.nvim"] = { - config = { 'require("plugins.tokyonight").config()' }, - loaded = true, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/start/tokyonight.nvim", - url = "https://github.com/folke/tokyonight.nvim" - }, - ["trouble.nvim"] = { - commands = { "TroubleToggle", "Trouble" }, - config = { "\27LJ\2\n]\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\2\25use_diagnostic_signs\2\14auto_open\1\nsetup\ftrouble\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/trouble.nvim", - url = "https://github.com/folke/trouble.nvim" - }, - ["vim-startuptime"] = { - commands = { "StartupTime" }, - config = { "\27LJ\2\n3\0\0\2\0\3\0\0056\0\0\0009\0\1\0)\1\n\0=\1\2\0K\0\1\0\22startuptime_tries\6g\bvim\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/vim-startuptime", - url = "https://github.com/dstein64/vim-startuptime" - }, - ["which-key.nvim"] = { - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/which-key.nvim", - url = "https://github.com/folke/which-key.nvim" - }, - ["windows.nvim"] = { - after = { "animation.nvim", "middleclass" }, - config = { 'require("plugins.windows").config()' }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/kjuulh/.local/share/nvim/site/pack/packer/opt/windows.nvim", - url = "https://github.com/anuvyklack/windows.nvim" - } -} - -time([[Defining packer_plugins]], false) -local module_lazy_loads = { - ["^animation"] = "animation.nvim", - ["^cmp"] = "nvim-cmp", - ["^cmp_nvim_lsp"] = "cmp-nvim-lsp", - ["^fidget"] = "fidget.nvim", - ["^hlargs"] = "hlargs.nvim", - ["^lua%-dev"] = "lua-dev.nvim", - ["^lualine"] = "lualine.nvim", - ["^luasnip"] = "LuaSnip", - ["^mason"] = "mason.nvim", - ["^mason%-lspconfig"] = "mason-lspconfig.nvim", - ["^middleclass"] = "middleclass", - ["^neogen"] = "neogen", - ["^noice"] = "noice.nvim", - ["^notify"] = "nvim-notify", - ["^nui"] = "nui.nvim", - ["^null%-ls"] = "null-ls.nvim", - ["^nvim%-autopairs"] = "nvim-autopairs", - ["^nvim%-navic"] = "nvim-navic", - ["^nvim%-treesitter"] = "nvim-treesitter", - ["^nvim%-web%-devicons"] = "nvim-web-devicons", - ["^persistence"] = "persistence.nvim", - ["^plenary"] = "plenary.nvim", - ["^sqlite"] = "sqlite.lua", - ["^telescope"] = "telescope.nvim", - ["^telescope%._extensions%.file_browser"] = "telescope-file-browser.nvim", - ["^telescope%._extensions%.fzf"] = "telescope-fzf-native.nvim", - ["^telescope%._extensions%.neoclip"] = "nvim-neoclip.lua", - ["^telescope%._extensions%.project"] = "telescope-project.nvim", - ["^telescope%._extensions%.symbols"] = "telescope-symbols.nvim", - ["^telescope%._extensions%.z"] = "telescope-z.nvim", - ["^trouble"] = "trouble.nvim", - ["^which%-key"] = "which-key.nvim" -} -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: telescope.nvim -time([[Setup for telescope.nvim]], true) -require("plugins.telescope").init() -time([[Setup for telescope.nvim]], false) --- Config for: dashboard-nvim -time([[Config for dashboard-nvim]], true) -require("plugins.dashboard").config() -time([[Config for dashboard-nvim]], false) --- Config for: tokyonight.nvim -time([[Config for tokyonight.nvim]], true) -require("plugins.tokyonight").config() -time([[Config for tokyonight.nvim]], false) - --- Command lazy-loads -time([[Defining lazy-load commands]], true) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TroubleToggle lua require("packer.load")({'trouble.nvim'}, { cmd = "TroubleToggle", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Trouble lua require("packer.load")({'trouble.nvim'}, { cmd = "Trouble", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Neotree lua require("packer.load")({'neo-tree.nvim'}, { cmd = "Neotree", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSPlaygroundToggle lua require("packer.load")({'playground'}, { cmd = "TSPlaygroundToggle", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSHighlightCapturesUnderCursor lua require("packer.load")({'playground'}, { cmd = "TSHighlightCapturesUnderCursor", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file StartupTime lua require("packer.load")({'vim-startuptime'}, { cmd = "StartupTime", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) -time([[Defining lazy-load commands]], false) - --- Keymap lazy-loads -time([[Defining lazy-load keymaps]], true) -vim.cmd [[noremap lua require("packer.load")({'neoscroll.nvim'}, { keys = "C-u>", prefix = "" }, _G.packer_plugins)]] -vim.cmd [[noremap G lua require("packer.load")({'neoscroll.nvim'}, { keys = "G", prefix = "" }, _G.packer_plugins)]] -vim.cmd [[noremap gg lua require("packer.load")({'neoscroll.nvim'}, { keys = "gg", prefix = "" }, _G.packer_plugins)]] -vim.cmd [[noremap lua require("packer.load")({'neoscroll.nvim'}, { keys = "C-d>", prefix = "" }, _G.packer_plugins)]] -time([[Defining lazy-load keymaps]], false) - -vim.cmd [[augroup packer_load_aucmds]] -vim.cmd [[au!]] - -- Event lazy-loads -time([[Defining lazy-load event autocommands]], true) -vim.cmd [[au User PackerDefered ++once lua require("packer.load")({'dressing.nvim', 'hlargs.nvim', 'windows.nvim', 'nvim-notify', 'lualine.nvim', 'nvim-treesitter'}, { event = "User PackerDefered" }, _G.packer_plugins)]] -vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-cmp'}, { event = "InsertEnter *" }, _G.packer_plugins)]] -vim.cmd [[au VimEnter * ++once lua require("packer.load")({'noice.nvim'}, { event = "VimEnter *" }, _G.packer_plugins)]] -vim.cmd [[au BufReadPre * ++once lua require("packer.load")({'nvim-bufferline.lua', 'nvim-colorizer.lua', 'indent-blankline.nvim', 'nvim-lspconfig', 'trouble.nvim', 'persistence.nvim'}, { event = "BufReadPre *" }, _G.packer_plugins)]] -vim.cmd [[au TextYankPost * ++once lua require("packer.load")({'nvim-neoclip.lua'}, { event = "TextYankPost *" }, _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() 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 diff --git a/sessions/%home%kjuulh%.config%nvim.vim b/sessions/%home%kjuulh%.config%nvim.vim deleted file mode 100644 index 3216135..0000000 --- a/sessions/%home%kjuulh%.config%nvim.vim +++ /dev/null @@ -1,55 +0,0 @@ -let SessionLoad = 1 -let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1 -let v:this_session=expand(":p") -silent only -silent tabonly -cd ~/.config/nvim -if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' - let s:wipebuf = bufnr('%') -endif -let s:shortmess_save = &shortmess -if &shortmess =~ 'A' - set shortmess=aoOA -else - set shortmess=aoO -endif -badd +1 . -badd +7 lua/plugins/tokyonight.lua -argglobal -%argdel -$argadd . -edit lua/plugins/tokyonight.lua -wincmd t -let s:save_winminheight = &winminheight -let s:save_winminwidth = &winminwidth -set winminheight=0 -set winheight=1 -set winminwidth=0 -set winwidth=1 -argglobal -balt . -let s:l = 7 - ((6 * winheight(0) + 30) / 60) -if s:l < 1 | let s:l = 1 | endif -keepjumps exe s:l -normal! zt -keepjumps 7 -normal! 07| -tabnext 1 -if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal' - silent exe 'bwipe ' . s:wipebuf -endif -unlet! s:wipebuf -set winheight=1 winwidth=5 -let &shortmess = s:shortmess_save -let &winminheight = s:save_winminheight -let &winminwidth = s:save_winminwidth -let s:sx = expand(":p:r")."x.vim" -if filereadable(s:sx) - exe "source " . fnameescape(s:sx) -endif -let &g:so = s:so_save | let &g:siso = s:siso_save -set hlsearch -nohlsearch -doautoall SessionLoadPost -unlet SessionLoad -" vim: set ft=vim :