summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-28 14:04:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-28 14:04:19 +0200
commit5ad790e83833ccc24c18c6d2b0c2abcf237fc861 (patch)
tree007d9276d14ae4e5e38bafcd584c6b3f48d2b6d2
parenta4d43f2c6855dfc1b0c5342348dfdf3645cec8ac (diff)
nvim: Disable code folding
-rw-r--r--.config/nvim/lua/mango/set.lua8
1 files changed, 0 insertions, 8 deletions
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'