diff --git a/templates/nvim/lua/options.lua.j2 b/templates/nvim/lua/options.lua.j2 index 3cf2b6d..f04251f 100644 --- a/templates/nvim/lua/options.lua.j2 +++ b/templates/nvim/lua/options.lua.j2 @@ -20,6 +20,7 @@ vim.o.hidden = true -- folding vim.o.foldmethod = 'expr' +vim.o.foldlevel = 99 vim.o.foldexpr = 'v:lua.vim.treesitter.foldexpr()' -- don't open folds when jumping over one with (, {, [[ or [{