From d5773ff550025475ccd366b8cbee8efe5b644fdf Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 26 Feb 2024 19:12:16 +0100 Subject: [PATCH] fix(treesitter): enable folding --- lua/plugins/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 192dd5b..8cc78a8 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -27,7 +27,7 @@ local function setup() vim.opt.foldmethod = "expr" vim.opt.foldexpr = "nvim_treesitter#foldexpr()" - vim.opt.foldenable = false + vim.opt.foldenable = true end return setup