From 8834ca26cc730202415f89c507a1d6578af93ca2 Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Fri, 17 Jan 2025 18:29:23 +0100 Subject: [PATCH] idk --- lazy-lock.json | 12 +++++----- lua/plugins/init.lua | 54 ++++++++++++++++++++------------------------ 2 files changed, 31 insertions(+), 35 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index cac5630..bdc25ac 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,7 +3,7 @@ "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, "NvChad": { "branch": "v2.5", "commit": "6f25b2739684389ca69ea8229386c098c566c408" }, "auto-session": { "branch": "main", "commit": "021b64ed7d4ac68a37be3ad28d8e1cba5bec582c" }, - "base46": { "branch": "v2.5", "commit": "20bd6a59fbd2a0f70bc4f56902952ab7a4254604" }, + "base46": { "branch": "v2.5", "commit": "fde7a2cd54599e148d376f82980407c2d24b0fa2" }, "bufresize.nvim": { "branch": "master", "commit": "3b19527ab936d6910484dcc20fb59bdb12322d8b" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" }, @@ -12,29 +12,29 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, "command-completion.nvim": { "branch": "main", "commit": "56c98f8d59a88ed96a80d43abca74a60ba31ea3a" }, - "conform.nvim": { "branch": "master", "commit": "70019124aa4f2e6838be9fbd2007f6d13b27a96d" }, + "conform.nvim": { "branch": "master", "commit": "6dc21d4ce050c2e592d9635b7983d67baf216e3d" }, "copilot.lua": { "branch": "master", "commit": "886ee73b6d464b2b3e3e6a7ff55ce87feac423a9" }, "fidget.nvim": { "branch": "main", "commit": "a0abbf18084b77d28bc70e24752e4f4fd54aea17" }, "focus.nvim": { "branch": "master", "commit": "d76338e58e49f844e8f6a7aff16a74a2a55a80ef" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, - "gitsigns.nvim": { "branch": "main", "commit": "76d88f3b584e1f83b2aa51663a32cc6ee8d97eff" }, + "gitsigns.nvim": { "branch": "main", "commit": "817bd848fffe82e697b4da656e3f2834cd0665c5" }, "indent-blankline.nvim": { "branch": "master", "commit": "7a698a1d7ed755af9f5a88733b23ca246ce2df28" }, "lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "e942edf5c85b6a2ab74059ea566cac5b3e1514a4" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, - "menu": { "branch": "main", "commit": "bea08e6f8772cb4d362795b0c7ae6343d0b229df" }, + "menu": { "branch": "main", "commit": "7769b17c2a131108c02b10e9f844e504aa605cc2" }, "minty": { "branch": "main", "commit": "6dce9f097667862537823d515a0250ce58faab05" }, "nvim-autopairs": { "branch": "master", "commit": "3d02855468f94bf435db41b661b58ec4f48a06b7" }, "nvim-bufdel": { "branch": "main", "commit": "523d58e94e7212fff3e05c247b962dc8f93bcfde" }, "nvim-cmp": { "branch": "main", "commit": "8c82d0bd31299dbff7f8e780f5e06d2283de9678" }, "nvim-lspconfig": { "branch": "master", "commit": "339ccc81e08793c3af9b83882a6ebd90c9cc0d3b" }, "nvim-tree.lua": { "branch": "master", "commit": "d529a99f88e0dff02e0aa275db2f595cd252a2c8" }, - "nvim-treesitter": { "branch": "master", "commit": "984214ef8e4ca18d77639663319aabdfba89632f" }, + "nvim-treesitter": { "branch": "master", "commit": "5da195ac3dfafd08d8b10756d975f0e01e1d563a" }, "nvim-web-devicons": { "branch": "master", "commit": "aafa5c187a15701a7299a392b907ec15d9a7075f" }, "plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, "telescope.nvim": { "branch": "master", "commit": "415af52339215926d705cccc08145f3782c4d132" }, - "ui": { "branch": "v3.0", "commit": "474199ac96e898be73905c2009d74690a0a6738e" }, + "ui": { "branch": "v3.0", "commit": "5942f52103fe8f5621d514cbc80ea990dc8fce09" }, "undotree": { "branch": "master", "commit": "2556c6800b210b2096b55b66e74b4cc1d9ebbe4f" }, "vim-suda": { "branch": "master", "commit": "9adda7d195222d4e2854efb2a88005a120296c47" }, "volt": { "branch": "main", "commit": "f02b065caf0327bf4d443ff6d91cb0edd6948ddb" }, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 69ce841..06cbf4e 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -82,46 +82,42 @@ return { { "rmagatti/auto-session", opts = { - enabled = true, -- Enables/disables auto creating, saving and restoring - root_dir = vim.fn.stdpath "data" .. "/sessions/", -- Root dir where sessions will be stored - auto_save = true, -- Enables/disables auto saving session on exit - auto_restore = true, -- Enables/disables auto restoring session on start - auto_create = true, -- Enables/disables auto creating new session files. Can take a function that should return true/false if a new session file should be created or not - suppressed_dirs = nil, -- Suppress session restore/create in certain directories - allowed_dirs = nil, -- Allow session restore/create in certain directories - auto_restore_last_session = false, -- On startup, loads the last saved session if session for cwd does not exist - use_git_branch = false, -- Include git branch name in session name - lazy_support = true, -- Automatically detect if Lazy.nvim is being used and wait until Lazy is done to make sure session is restored correctly. Does nothing if Lazy isn't being used. Can be disabled if a problem is suspected or for debugging - bypass_save_filetypes = nil, -- List of filetypes to bypass auto save when the only buffer open is one of the file types listed, useful to ignore dashboards - close_unsupported_windows = true, -- Close windows that aren't backed by normal file before autosaving a session - args_allow_single_directory = true, -- Follow normal sesion save/load logic if launched with a single directory as the only argument - args_allow_files_auto_save = false, -- Allow saving a session even when launched with a file argument (or multiple files/dirs). It does not load any existing session first. While you can just set this to true, you probably want to set it to a function that decides when to save a session when launched with file args. See documentation for more detail - continue_restore_on_error = true, -- Keep loading the session even if there's an error - show_auto_restore_notif = false, -- Whether to show a notification when auto-restoring - cwd_change_handling = false, -- Follow cwd changes, saving a session before change and restoring after - lsp_stop_on_restore = false, -- Should language servers be stopped when restoring a session. Can also be a function that will be called if set. Not called on autorestore from startup - log_level = "error", -- Sets the log level of the plugin (debug, info, warn, error). + enabled = true, + root_dir = vim.fn.stdpath "data" .. "/sessions/", + auto_save = true, + auto_restore = true, + auto_create = true, + suppressed_dirs = nil, + allowed_dirs = nil, + auto_restore_last_session = false, + use_git_branch = false, + lazy_support = true, + bypass_save_filetypes = nil, + close_unsupported_windows = true, + args_allow_single_directory = true, + args_allow_files_auto_save = false, + continue_restore_on_error = true, + show_auto_restore_notif = false, + cwd_change_handling = false, + lsp_stop_on_restore = false, + log_level = "error", session_lens = { - load_on_setup = true, -- Initialize on startup (requires Telescope) - theme_conf = { -- Pass through for Telescope theme options - -- layout_config = { -- As one example, can change width/height of picker - -- width = 0.8, -- percent of window - -- height = 0.5, - -- }, + load_on_setup = true, + theme_conf = { + -- test }, - previewer = false, -- File preview for session picker + previewer = false, mappings = { - -- Mode can be a string or a table, e.g. {"i", "n"} for both insert and normal mode delete_session = { "i", "" }, alternate_session = { "i", "" }, copy_session = { "i", "" }, }, session_control = { - control_dir = vim.fn.stdpath "data" .. "/auto_session/", -- Auto session control dir, for control files, like alternating between two sessions with session-lens - control_filename = "session_control.json", -- File name of the session control file + control_dir = vim.fn.stdpath "data" .. "/auto_session/", + control_filename = "session_control.json", }, }, },