From 5ad790e83833ccc24c18c6d2b0c2abcf237fc861 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 28 Oct 2023 14:04:19 +0200 Subject: nvim: Disable code folding --- .config/nvim/lua/mango/set.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to '.config/nvim/lua/mango/set.lua') diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index ef51683..0576e73 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -56,14 +56,6 @@ api.nvim_create_autocmd('FocusGained', { group = augroup, }) -opt.foldmethod = 'expr' -opt.foldexpr = 'nvim_treesitter#foldexpr()' - -api.nvim_create_autocmd('BufWinEnter', { - command = 'normal zR', - group = augroup, -}) - -- This has to be done to enable linenumbers in netrw glo.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' -- cgit v1.2.3