diff --git a/dots/.nvim-environments/primary/config/lua/core/options.lua b/dots/.nvim-environments/primary/config/lua/core/options.lua index 46564b90..1981d537 100755 --- a/dots/.nvim-environments/primary/config/lua/core/options.lua +++ b/dots/.nvim-environments/primary/config/lua/core/options.lua @@ -65,6 +65,8 @@ M.setup = function() opt.foldmethod = "expr" opt.fillchars = { fold = " " } opt.foldlevel = 20 + vim.wo.foldexpr = "nvim_treesitter#foldexpr()" + vim.wo.foldmethod = "expr" -- Concealment for nicer rendering opt.conceallevel = 2