Skip to content

Commit

Permalink
feat(nvim): add 'foldnestmax' option
Browse files Browse the repository at this point in the history
  • Loading branch information
kutsan committed Jan 2, 2025
1 parent 3a6f482 commit 502ccc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .config/nvim/plugin/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 502ccc1

Please sign in to comment.