From a6f5ee48d270adcfaaf65fecc36c1abd7f36a304 Mon Sep 17 00:00:00 2001 From: Job79 Date: Sat, 29 Aug 2026 15:57:18 +0200 Subject: [PATCH] fix: limit shada file --- plugin/10_options.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/10_options.lua b/plugin/10_options.lua index 5330f0e..fcba6a2 100644 --- a/plugin/10_options.lua +++ b/plugin/10_options.lua @@ -1,6 +1,7 @@ -- General ===================================================================== -vim.g.mapleader = ' ' -- Use `` as key -vim.o.undofile = true -- Enable persistent undo +vim.g.mapleader = ' ' -- Use `` as key +vim.o.undofile = true -- Enable persistent undo +vim.o.shada = "'100,<50,s10,:1000,/100,@100,h" -- Limit ShaDa file (for startup) -- UI ========================================================================== vim.o.breakindent = true -- Indent wrapped lines to match line start