From 565208bd0f8cfdf1da956caab0d84cc2f09c9a3e Mon Sep 17 00:00:00 2001 From: David Ponte Date: Mon, 7 Jul 2025 13:15:29 +0200 Subject: [PATCH] feat: add AutoSession plugin for automatic session management --- init.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/init.lua b/init.lua index 2e32c731..453cb2d4 100644 --- a/init.lua +++ b/init.lua @@ -147,7 +147,18 @@ require('lazy').setup({ }, }, }, + { -- AutoSession takes advantage of Neovim's existing session management capabilities to provide seamless automatic session management + 'rmagatti/auto-session', + lazy = false, + ---enables autocomptete for opts + ---@module "auto-session" + ---@type AutoSession.Config + opts = { + suppressed_dirs = { '~/', '~/Projects', '~/Downloads', '/' }, + -- log_level = 'debug', + }, + }, -- NOTE: Plugins can also be configured to run Lua code when they are loaded. -- -- This is often very useful to both group configuration, as well as handle @@ -740,6 +751,18 @@ require('lazy').setup({ signature = { enabled = true }, }, }, + -- -- Norminette checker + -- { + -- 'hardyrafael17/norminette42.nvim', + -- config = function() + -- local norminette = require 'norminette' + -- norminette.setup { + -- runOnSave = true, + -- maxErrorsToShow = 5, + -- active = true, + -- } + -- end, + -- }, { 'loctvl842/monokai-pro.nvim', opts = {