From 5a50cb5c933afc54fbba3858c7a8ca54c4bfc6be Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 3 Apr 2025 22:26:43 +0100 Subject: [PATCH] Set `foldlevelstart` to 1 I'd like to use folds more, so I'm going to try setting the default foldlevel to 1 so that I can see and use them on a more regular basis. --- .../home-manager/cli/neovim/config/lua/opdavies/options.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/home-manager/cli/neovim/config/lua/opdavies/options.lua b/modules/home-manager/cli/neovim/config/lua/opdavies/options.lua index 745bd8f7..ce951037 100644 --- a/modules/home-manager/cli/neovim/config/lua/opdavies/options.lua +++ b/modules/home-manager/cli/neovim/config/lua/opdavies/options.lua @@ -7,8 +7,7 @@ local settings = { breakindent = true, expandtab = true, exrc = true, - foldlevel = 1, - foldlevelstart = 99, + foldlevelstart = 1, foldmethod = "indent", formatoptions = "clqjp", hidden = false,