From 15dbea6333f35302b059b3dcd5657863402b55f7 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Mon, 13 Oct 2025 12:32:55 +0000 Subject: [PATCH] disable folding --- lua/config/options.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 27b49d1..78dcac5 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -109,10 +109,10 @@ opt.background = 'dark' opt.shortmess:append('sI') -- Treesitter based folding -opt.foldlevel = 20 -opt.foldmethod = 'expr' -opt.foldexpr = 'nvim_treesitter#foldexpr()' -opt.foldexpr = 'nvim_treesitter#foldexpr()' +-- opt.foldlevel = 20 +-- opt.foldmethod = 'expr' +-- opt.foldexpr = 'nvim_treesitter#foldexpr()' +-- opt.foldexpr = 'nvim_treesitter#foldexpr()' if vim.fn.has('nvim-0.12') == 1 then vim.o.diffopt = 'internal,filler,closeoff,inline:simple,linematch:40'