diff --git a/.config/nvim/plugin/settings.lua b/.config/nvim/plugin/settings.lua index 101a2f84..a7ee148c 100644 --- a/.config/nvim/plugin/settings.lua +++ b/.config/nvim/plugin/settings.lua @@ -109,6 +109,7 @@ opt.cursorline = true -- Highlight the screen line of the cursor with CursorLine opt.signcolumn = 'yes' -- Always draw the sign column even there is no sign in it. opt.foldmethod = 'expr' -- Use custom fold expression. opt.foldexpr = 'v:lua.vim.treesitter.foldexpr()' -- Custom fold expression for treesitter. +opt.foldnestmax = 4 -- Maximum nesting of folds. -- Buffer Options opt.modeline = false -- Disable modeline feature altogether.