Skip to content

Commit 565208b

Browse files
author
David Ponte
committed
feat: add AutoSession plugin for automatic session management
1 parent deb4ac9 commit 565208b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

init.lua

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,18 @@ require('lazy').setup({
147147
},
148148
},
149149
},
150+
{ -- AutoSession takes advantage of Neovim's existing session management capabilities to provide seamless automatic session management
151+
'rmagatti/auto-session',
152+
lazy = false,
150153

154+
---enables autocomptete for opts
155+
---@module "auto-session"
156+
---@type AutoSession.Config
157+
opts = {
158+
suppressed_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
159+
-- log_level = 'debug',
160+
},
161+
},
151162
-- NOTE: Plugins can also be configured to run Lua code when they are loaded.
152163
--
153164
-- This is often very useful to both group configuration, as well as handle
@@ -740,6 +751,18 @@ require('lazy').setup({
740751
signature = { enabled = true },
741752
},
742753
},
754+
-- -- Norminette checker
755+
-- {
756+
-- 'hardyrafael17/norminette42.nvim',
757+
-- config = function()
758+
-- local norminette = require 'norminette'
759+
-- norminette.setup {
760+
-- runOnSave = true,
761+
-- maxErrorsToShow = 5,
762+
-- active = true,
763+
-- }
764+
-- end,
765+
-- },
743766
{
744767
'loctvl842/monokai-pro.nvim',
745768
opts = {

0 commit comments

Comments
 (0)