From 35b72829efe8d869c646c5e635d5e6c7cda32fa6 Mon Sep 17 00:00:00 2001
From: Parsifa1
Date: Sun, 26 Jan 2025 21:09:45 +0800
Subject: [PATCH] fix(origami): fix range in session
---
.gitignore | 1 +
lua/plugins/tools/origami.lua | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index e43b0f9..ee31499 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
.DS_Store
+.compiled/
diff --git a/lua/plugins/tools/origami.lua b/lua/plugins/tools/origami.lua
index 8766d6d..1230c9c 100644
--- a/lua/plugins/tools/origami.lua
+++ b/lua/plugins/tools/origami.lua
@@ -3,6 +3,6 @@ return {
event = "User AfterLoad",
opts = {
hOnlyOpensOnFirstColumn = true,
- keepFoldsAcrossSessions = false,
+ keepFoldsAcrossSessions = true,
}, -- needed even when using default config
}