From 81408e79d2bf90fbc61a44729fc28126a6e98fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20T?= Date: Wed, 8 Apr 2026 14:30:36 -0600 Subject: [PATCH] Changed the defualt fold level to fold from ## when opeining a file. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index cde35e6..83abae6 100644 --- a/init.lua +++ b/init.lua @@ -22,7 +22,7 @@ vim.api.nvim_create_autocmd("FileType", { callback = function() vim.wo.foldmethod = "expr" vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()" -- This is the magic line - vim.wo.foldlevel = 2 -- tweak if you want deeper levels open by default + vim.wo.foldlevel = 1 -- tweak if you want deeper levels open by default vim.wo.foldcolumn = "1" vim.wo.spell = true vim.bo.spelllang = "en_us"