diff --git a/lua/config/options.lua b/lua/config/options.lua index d6ec47b..f62c212 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -106,6 +106,3 @@ vim.diagnostic.config({ }, severity_sort = true, }) - -vim.opt.foldmethod = 'expr' -vim.opt.foldexpr = 'nvim_treesitter#foldexpr()' diff --git a/lua/plugins/syntax.lua b/lua/plugins/syntax.lua index ed8ab59..bc6920e 100644 --- a/lua/plugins/syntax.lua +++ b/lua/plugins/syntax.lua @@ -91,7 +91,6 @@ return { highlight = { enable = true }, incremental_selection = { enable = true }, textobjects = { enable = true }, - fold = { enable = true }, ensure_installed = general.ts_parsers, }, },