From 0485d332d2f55e9be40d802dbaf373d25df35fd0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 29 Sep 2024 19:46:28 +0200 Subject: [PATCH] added autosave --- init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/init.lua b/init.lua index 8a3bfdbc..13c80fda 100644 --- a/init.lua +++ b/init.lua @@ -504,6 +504,17 @@ require('lazy').setup({ end, { desc = 'Open harpoon window in telescope' }) end, }, + + { + 'okuuva/auto-save.nvim', + cmd = 'ASToggle', -- optional for lazy loading on command + event = { 'InsertLeave', 'TextChanged' }, -- optional for lazy loading on trigger events + opts = { + -- your config goes here + -- or just leave it empty :) + }, + }, + -- LSP Plugins { -- `lazyev` configures Lua LSP for your Neovim config, runtime and plugins