From 7445e82dacd3020ef160e9b93d6c86ed13bce7a0 Mon Sep 17 00:00:00 2001 From: Sirisak Lueangsaksri <1087399+spywhere@users.noreply.github.com> Date: Tue, 21 Nov 2023 02:46:09 +0700 Subject: [PATCH] refactor(nvim): temporary remove folding expr --- configs/nvim/lua/plugin/syntax-highlight/treesitter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/nvim/lua/plugin/syntax-highlight/treesitter.lua b/configs/nvim/lua/plugin/syntax-highlight/treesitter.lua index 55d636f..8ec44c2 100644 --- a/configs/nvim/lua/plugin/syntax-highlight/treesitter.lua +++ b/configs/nvim/lua/plugin/syntax-highlight/treesitter.lua @@ -29,7 +29,7 @@ registry.install { } } - bindings.set('foldmethod', 'expr') - bindings.set('foldexpr', 'nvim_treesitter#foldexpr()') + -- bindings.set('foldmethod', 'expr') + -- bindings.set('foldexpr', 'nvim_treesitter#foldexpr()') end }